-
Notifications
You must be signed in to change notification settings - Fork 664
Setting AssemblyFileVersion to NugetVersion #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Setting the AssemblyFileVersion to the NugetVersion string allows for using the AssemblyFileVersion to check against Nuget to verify that you are runnig the latest version of the assembly. The use case for this is self-updating applications like nuget.exe. If Microsoft where to provide custom assembly attribute (key, values) we could have used that.
|
@SimonCropp can we make this opt-in? |
|
@andreasohlund I think so. how would u like to switch it? |
|
How about those attributes that you have for the asminfo version format? |
|
@andreasohlund sigh. you want this https://github.com/Fody/Stamp#templating-the-version dont you |
|
I assume yes On Tue, Nov 12, 2013 at 10:35 AM, Simon Cropp notifications@github.comwrote:
|
|
@nhhagen what version of .net are you using? |
|
I' usually targeting 4.5 |
|
@nhhagen would a different attribute with the nuget version string suffice? |
|
Ping @nhhagen? |
|
As long as it can be accessed using code |
|
added a nuget attribute in v 0.15 |
Setting the AssemblyFileVersion to the NugetVersion string allows for
using the AssemblyFileVersion to check against Nuget to verify that you
are runnig the latest version of the assembly. The use case for this is
self-updating applications like nuget.exe. If Microsoft where to provide
custom assembly attribute (key, values) we could have used that.