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

Didier Bernard deedeebernard at hotmail.com
Sat Feb 13 17:36:36 EST 2016


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<http://blogs.msdn.com/b/srivatsn/archive/2008/08/06/static-compilation-of-ironpython-scripts.aspx> 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<http://stackoverflow.com/questions/35073738/changing-the-version-information-of-ironpython-dll-assembly>. 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<http://stackoverflow.com/a/35137830/3137724> 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<http://stackoverflow.com/questions/35073738/changing-the-version-information-of-ironpython-dll-assembly>), 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20160213/9b77fc19/attachment.html>


More information about the Ironpython-users mailing list