Packing nuget targeting net 4.8 from linux

338 Views Asked by At

I'm using a docker container to build a nuget package using

dotnet pack ...

The csproj is multi-targeted for netstandard2.1 and net48.

Obviously I get an error that the targeting pack for net48 is missing.

Given that a nuget is just a packge of the dll's is it possible somehow to pack a nuget targeted for net 48 from a Linux docker ? Or do I have to use windows for this ?

0

There are 0 best solutions below