NuGet problem in LINQPad 5 - missing assemblies in net48 profile
It seems that LINQPad 5 cannot find assemblies if they are inside the net48 profile. Neither can the types be referred to from inside C# code in LINQPad, nor the "Show assemblies in this package" shows the problematic assemblies. All other assemblies are shown, that are not inside the net48 profile.
The problem is being experienced with version 5.36.03, but the problem still persists in beta version 5.39.0.
The problem seems to be very similar to this one (only this time it is the net48 profile instead of the net471 profile):
http://forum.linqpad.net/discussion/1541/nuget-problem-net471-profile
(BTW, when is the 5.39.* beta version going be a stable version? It contains some quite useful features and bugfixes. If this net48 profile problem was fixed, and a new stable version was released, then it would be fantastic! )
The problem is being experienced with version 5.36.03, but the problem still persists in beta version 5.39.0.
The problem seems to be very similar to this one (only this time it is the net48 profile instead of the net471 profile):
http://forum.linqpad.net/discussion/1541/nuget-problem-net471-profile
(BTW, when is the 5.39.* beta version going be a stable version? It contains some quite useful features and bugfixes. If this net48 profile problem was fixed, and a new stable version was released, then it would be fantastic! )
Comments
sdflysha - can you tell me what happens when you run LINQPad on Win10 1809? I would anticipate the only problem would in finding the latest XML documentation files (and that's if you have installed the SDK).
And I can confirm the Windows 10 1809 Sandbox have .NET Framework 4.8 installed:
https://marcinotorowski.com/2019/06/05/windows-sandbox-unable-to-run-net-apps/
So it should be Microsoft's bug.😂
However, I have attached two nuget packages which can reproduce the problem.
ClassLibraryNet48.1.0.0.nupkg has been created from a .NET 4.8 class library project with no dependencies. When I try to use this then LINQPad cannot even add it to the query because it says that "There are no usable .NET assemblies in package 'ClassLibraryNet48'".
ClassLibraryNet48WithReferences.1.0.0.nupkg has been created from a .NET 4.8 class library project with dependency to EPPlus nuget package. When I try to use this then LINQPad can add it to the query, however, neither can the types be referred to from inside C# code in LINQPad, nor the "Show assemblies in this package" shows the ClassLibraryNet48WithReferences.dll assembly.
https://www.linqpad.net/Download.aspx#beta