Hi, Didier, Just in case the problem cannot be solved here:
You could use some post-processing using libraries like IKVM.Reflection or Mono.Cecil to change the version afterwards, working around the problem. Best regards Markus Schaber CODESYS® a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.scha...@codesys.com<mailto:m.scha...@codesys.com> | Web: codesys.com<http://www.codesys.com> | CODESYS store: store.codesys.com<http://store.codesys.com> CODESYS forum: forum.codesys.com<http://forum.codesys.com> Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From: Ironpython-users [mailto:ironpython-users-bounces+m.schaber=codesys....@python.org] On Behalf Of Didier Bernard Sent: Monday, February 15, 2016 5:42 PM To: ironpython-users@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<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
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users