NuGet - create nuspec with package.config dependencies

You can create a .nuspec file from .csproj using just the nuget.exe spec from the project folder.

However, the NuGet packages used by the project are not added to the <dependencies> section in the resulting .nuspec file.

Is there a way to do this automatically, seems an obvious necessity?

For now, I just copy the bundle from the packages.config file and modify it a little.

+5
source share

Source: https://habr.com/ru/post/1237250/


All Articles