Proxygen won't run with a C++/CLI program.

Q:

I can't use proxygen with a very simple C++/CLI program. After execute proxygen I always get the error:

ProxyGen.exe Error: 10030 : The following file is not a valid managed assembly:
(path to the executable)

What is the problem?

 

 

A:

Proxygen cannot run with /clr c++/cli mixed mode .exe assemblies; it can, however, run with a .dll.

If you try to run it with an .exe it will throw an exception when loading the assembly with Assembly.LoadFile: System.IO.FileLoadException:  “Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.)”

 

 


Posted Jun 09 2009, 10:57 AM by BillL
Filed under: , , , , ,
Copyright Summit Software Company, 2008. All rights reserved.