Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Install .NET Standard version of a multi-target Nuget from a .NET 4.6.2 application?

$
0
0

Is it possible from a .NET 4.6.2 application to prefer .NET Standard version installation of a multi-target Nuget?

I have a .NET 4.6.2 application which is using a Nuget package built for both .NETFramework 4.6.2 and .NETStandard 2.0

When looking into the .csproj project file I can see this:

<Reference Include="CompanyAcme.TheNugetPackage.Client, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"><HintPath>..\packages\TheNugetPackage.Client.2.1.4\lib\net462\CompanyAcme.TheNugetPackage.Client.dll</HintPath></Reference>

Which makes me think that my .NET 4.6.2 application is using the .NET 4.6.2 version of the Nuget package.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>