Resgen.exe error (error PRJ0002 : Error result -532459699 returned from 'C:\Program Files\Microsoft


S

SQACPP

I have an error when compiling a simple form project...

I just start a new Form project and add a new PictureBox in a form(or
anything that generate the .resx file)

After that when compiling I always get the following error (in VS
2005):


Compiling...
blablabla.cpp
Compiling managed resources...
Unhandled Exception: System.IO.FileLoadException: Could not load file
or assembly 'ResGen, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong
name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'ResGen, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' --->
System.Security.SecurityException: Strong name validation failed.
(Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer
Project : error PRJ0002 : Error result -532459699 returned from 'C:
\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\resgen.exe'.

Note: I get the same msg just be running resgen.exe without any
parameters...what is wrong with my installation?????????

Thanks!
 
Ad

Advertisements

S

SQACPP

I have an error when compiling a simple form project...

I just start a new Form project and add a new PictureBox in a form(or
anything that generate the .resx file)

After that when compiling I always get the following error (in VS
2005):

Compiling...
blablabla.cpp
Compiling managed resources...
Unhandled Exception: System.IO.FileLoadException: Could not load file
or assembly 'ResGen, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong
name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'ResGen, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' --->
System.Security.SecurityException: Strong name validation failed.
(Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer
Project : error PRJ0002 : Error result -532459699 returned from 'C:
\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\resgen.exe'.

Note: I get the same msg just be running resgen.exe without any
parameters...what is wrong with my installation?????????

Thanks!

nobody know why i get this error?? I just install VS 2005, create a
new C++ form project and compile it... even with an empty form i get
the error... :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top