Magic NuGet Assembly Attributes?

Topics: General
Apr 24, 2014 at 4:38 PM
Woudl anybody be interested in a set of custom assembly attributes that would let you override the variables in NuSpec generation? The one off the top of my head which seems extremely valuable would be NuGetVersion.

I'm thinking that these wouldn't be in a shared library, but simply class name conventions.

Being able to specify the NuGet version dynamically, perhaps through a build-time generated file, would be extremely useful. Without polluting AssemblyInformationalVersion, which I've seen a number of people have ended up using for other things.

I've already made a patch for this if anybody is interested.