AssemblyFileVersion

Topics: General
Mar 1, 2013 at 10:30 AM
Edited Mar 1, 2013 at 10:30 AM
it would be very usefull to have a replacement token in nuspec file for AssemblyFileVersion attribute
Developer
Mar 2, 2013 at 3:54 AM
Hello Giammin,

There's already a $version$ token that seems to do what you want. You can read about it at http://docs.nuget.org/docs/reference/nuspec-reference#Replacement_Tokens.

Is there something you need that can't be achieved using this token?

Thanks,
Clay
Mar 2, 2013 at 7:56 AM
i know about $version$ but i need $AssemblyFileVersion$
Developer
Mar 2, 2013 at 11:52 AM
Can I know what you need it for?
Mar 2, 2013 at 1:46 PM
for same legacy dll that we distribute both with nuget or copying dll

we change assembly version only when there are breaking changes and we change assembly file version every build
Es assemblyversion 2.4.0.0
fileversion 2.4.1303.0200 where 13=2013, 03=month, 02=day, 00=incremental day build

if assembly version doesnt change nuget package is not updated and i was looking for some easy way to set nuget package version with assemblyfileversion
Developer
Mar 3, 2013 at 7:21 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Developer
Mar 3, 2013 at 7:22 PM
I copied this into a work item, but it's not guaranteed that it will be implemented soon. <hint> The fastest way to get it done is to send a pull request. :) </hint>
Mar 3, 2013 at 7:24 PM
thank you very much! :D
Jun 11, 2013 at 5:13 PM
Edited Jun 11, 2013 at 5:13 PM
Developer
Jun 25, 2013 at 5:03 PM
Thanks. I'll look at your pull request this week.