"The package 'NLog' tried to add a framework reference to 'System.IO.Compression' which was not found in the GAC." when the assembly, in fact, is in the GAC #5812
Labels
Functionality:Install
The install command in VS/nuget.exe
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:VS.Client
Status:Excluded from icebox cleanup
Status:Inactive
Icebox issues not updated for a specific long time
Triage:Investigate
Milestone
NuGet product used: VS UI
NuGet version (x.x.x.xxx): 4.3.0
dotnet.exe --version (if appropriate): N/A
VS version (if appropriate): 15.3.2
OS version (i.e. win10 v1607 (14393.321)): Windows 10 1703 (15063.540)
Worked before? If so, with which NuGet version: unknown
Detailed repro steps so we can see the same problem
Looking at GAC contents does show me what appears to be System.IO.Compression at
c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.IO.Compression\v4.0_4.0.0.0__b77a5c561934e089\System.IO.Compression.dll
. It is not clear to me why NuGet says it cannot be found in the GAC.The NLog install works fine if you remove the reference to the .NET Standard 2.0 library project.
Installing System.IO.Compression from NuGet seems to slightly move things along but it is not clear why and this should not be needed - System.IO.Compression is already in .NET Framework, there should be no need for any NuGet package here.
See also NLog/NLog#2255
The text was updated successfully, but these errors were encountered: