VisualStudio icon indicating copy to clipboard operation
VisualStudio copied to clipboard

Adding better support for creating NuGet packages with multiple targets

Open SoftCircuits opened this issue 4 years ago • 0 comments

I have a few dozen NuGet packages, mostly targeting .NET Standard. And Visual Studio makes it easy to build these packages.

But now I'd like to update my packages to take full advantage of .NET 5.0.

I still want my existing packages to be available for developers not able to upgrade to .NET 5.0, and I don't want to create all new packages so that I have two versions of each one. What I really want is for each package to include multiple versions of the library: one for .NET Standard and another for .NET 5.0.

I believe this is supported already, but it requires manually editing the package file. It would be great if Visual Studio could support multiple packages as easily as it currently supports my existing, single packages.

Could this feature be added to Visual Studio?

SoftCircuits avatar Jan 30 '21 16:01 SoftCircuits