I'm trying to come up with a good way to put together Roslyn analyzer designs in NuGet. This requires a specific NuGet c package structure .dll
placed in \analyzer\
, rather than \lib\
.
To do this, I need to call nuget pack <name>.nuspec
, not nuget pack <name>.csproj
. But if I use nuspec
, then the $ version $ tag is ignored.
It seems that my only option is to manually update the version in .nuspec
with each restore. What is the right and right way to accomplish this?
source
share