[Ironpython-users] Changing the version information of ironpython .dll assembly

Andrew Graham andy at agraham.demon.co.uk
Mon Feb 15 12:05:04 EST 2016


You can use ilmerge to change it after compilation
http://stackoverflow.com/questions/398170/change-assembly-version-in-a-compiled-net-assembly

ilmerge mycode.dll /ver:1.2.3.4 /out:mycode.dll

ILMerge is available via NuGet in Visual Studio or from the Microsoft Download center

http://www.microsoft.com/en-gb/download/details.aspx?id=17630



Last time I looked the 

version on NuGet is 2.14.1208 while the download is the earlier version 2.12.0803.


Andy Graham


From: Didier Bernard 
Sent: Saturday, February 13, 2016 10:36 PM
To: ironpython-users at python.org 
Subject: [Ironpython-users] Changing the version information of ironpython .dll assembly

Hello,

I have the following issue with ironpython 2.7: I would like to compiles the .py file to .dll. Here is a nice example on how this can be done with clr.CompileModules method.
The problem is that the File Version of the compiled .dll is always: 0.0.0.0.

How can I change that?
I posted a question about this issue on stackoverflow.com. Even there there stands that the issue is solved, it isn't. the person who tried to help me (D. Alveno) really gave a lot of effort to do that. So this is why I marked his answer as the solving one. But in reality the issue is still not solved.

D. Alveno suggested using ipy.exe pyc.py instead of clr.CompileModules method. In the end this again resulted in getting a .dll file with File Version: 0.0.0.0.

I also tried a couple of other methods (those three ones mentioned on stackoverflow.com), but all of them failed, as they do not seem to be made for ironpython .dll assemblies, but probably C# and VB.NET.

I would welcome any kind of advice.

Thank you in advance.

With kind regards,
Didier Bernard




--------------------------------------------------------------------------------
_______________________________________________
Ironpython-users mailing list
Ironpython-users at python.org
https://mail.python.org/mailman/listinfo/ironpython-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20160215/27f90215/attachment.html>


More information about the Ironpython-users mailing list