Quantcast
Viewing all articles
Browse latest Browse all 12583

Windows forms resource linking x64

Hello, 

Earlier this year I reisntalled my devbox at work with w7 x64. Mostly I sit on WCF and WPF projects, but I'm also involved in some forms applications now and then. However this upgrade caused ResGen.exe not to work with some projects, given that the .exe is compiled as IL, but it has dependencies that are compiled as x86... This was "hackable" though, by just forcing the tool to run in x86 mode and resigning it again.

Now I got yet another issue, which only occurs on my x64 devbox( running the exact same project on a coworkers x86 machine worked just fine)

System: Windows 7 x64

.NET 3.5

"An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll

Additional information: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Blabla.SomeClass.resources" was correctly embedded or linked into assembly "Blabla" at compile time, or that all the satellite assemblies required are loadable and fully signed."

The exception is thrown in the generated InitializeComponents of a panel:

this.imlMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlMain.ImageStream")));

There hasn't been any changes to the code, but it fails here on my x64 box. 

A long story cut short, any ideas what tool might cause an issue this time? Maybe I'm jumping to conclusions?


Brgds,

Stian




Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>