0

We use svn revision for the ProductBuildPart of our FileVersionInfo . Because we're above revision 65536, we had to mod the number. To compensate, we stick the real number in the AssemblyInformationalVersionAttribute. This is easy enough when we build the assemblies from source.

However, we have an assembly generated by SGen for performance. Is there an easy way to change/add an AssemblyInformationalVersionAttribute on an already built assembly?

Rob
  • 4,327
  • 6
  • 29
  • 55
  • Decompile it with ildasm.exe, edit, put back together with ilasm.exe. Generating a new product version for every single SC commit is ... special. – Hans Passant Dec 04 '13 at 16:24
  • @Thomas Jaskula: No, SGen - to speed up the Xml deserialization code. – Rob Dec 04 '13 at 16:32
  • @Hans: Not every single commit, but every "continuous" product build, yes. Otherwise, how do you tell them apart? – Rob Dec 04 '13 at 16:33

0 Answers0