Output Assembly File Version

.NET obfuscator and automated error reporting

Output Assembly File Version

Postby lmc » Fri Sep 20, 2013 12:22 pm

Hi there,
We're grappling with the more-complicated-than-expected .Net assembly versioning scheme.

We use the X.Y.* notation for the AssemblyVersion attribute in the AssemblyInfo.cs, and leave out the AssemblyFileVersion attribute (which doesn't accept * notation) , and that normally means the AssemblyFileVersion takes the value of AssemblyVersion.

However, running the assembly through SA creates an assembly with an AssemblyFileVersion of SmartAssembly.exe

E.g. (image) https://www.dropbox.com/s/l320i9ikvtyvv ... ersion.png

Is there any way to get SA to copy the AssemblyVersion to the AssemblyFileVersion instead?
Cheers,
Luke
lmc
 
Posts: 4
Joined: Fri Sep 20, 2013 11:53 am

Postby lmc » Mon Sep 23, 2013 4:58 pm

Here's a simple project that demonstrates the issue:
https://www.dropbox.com/s/ci8ltu0vv8uc5 ... cation.zip

You can see the 'File version' property in the DLLs properties from the right-click menu in Explorer, or from a .Net decompiler. You can also toggle the effect by uncommenting the AssemblyFileVersion attribute in the AssemblyInfo.cs file.

Cheers,
Luke
lmc
 
Posts: 4
Joined: Fri Sep 20, 2013 11:53 am


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests