groupdocs-viewer / GroupDocs.Viewer-for-.NET-UI

UI - User Interface for GroupDocs.Viewer for .NET document viewer and automation API.
MIT License
5 stars 2 forks source link

Detected package downgrade Exception with GroupDocs.Viewer.UI.SelfHost.Api 3.1.14 #19

Closed ManuelHaas closed 2 years ago

ManuelHaas commented 2 years ago

Hi,

the following error will be thrown when using GroupDocs.Viewer.UI.SelfHost.Api 3.1.14 with a current (6.0.5) .NET Core Web App:

Error       Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 MyProjectName -> GroupDocs.Viewer.UI.SelfHost.Api 3.1.14 -> Microsoft.AspNetCore.Mvc.Core 2.2.5 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.IO.FileSystem.Primitives (>= 4.3.0) 
 MyProjectName -> GroupDocs.Viewer.UI.SelfHost.Api 3.1.14 -> Microsoft.AspNetCore.Mvc.Core 2.2.5 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> System.IO.FileSystem 4.0.1 -> System.IO.FileSystem.Primitives (>= 4.0.1)   ProjectName C:\xxx\src\MyProjectName\MyProjectName.csproj   0   

Environment:

vladimir-litvinchik commented 2 years ago

@ManuelHaas

We're looking into this issue. Please consider adding a reference to the higher version of the package to your project file as a temporary solution

<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
vladimir-litvinchik commented 2 years ago

@ManuelHaas

I can't reproduce this issue with the latest versions of GroupDocs.Viewer.UI.SelfHost.Api 3.1.9 and GroupDocs.Viewer.UI.SelfHost.Api 3.1.20.

Please reopen this issue in case you still experience it.

ManuelHaas commented 2 years ago

@vladimir-litvinchik Yes, the problem seems to be fixed with the new version. Thank you!

vladimir-litvinchik commented 2 years ago

@ManuelHaas

Great, thanks for the feedback!