468,309 Members | 1,121 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,309 developers. It's quick & easy.

Embedding resource files via Nant?

I can build a winexe using Nant without problems. If I add a
Resources.resx file with images in it and reference those image on a
form, I can't build correctly. The build success but the program
always crashes with an error similar to:

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

I'm using resgen in the Nant script and it outputs *.resource files.
However, I think a step is missing in that those files now need to be
embedded into the EXE. How is that done?


Jul 11 '06 #1
0 1118

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by HaukiDog | last post: by
reply views Thread by Adam Dockter | last post: by
4 posts views Thread by Jason Pettys | last post: by
2 posts views Thread by Brett Romero | last post: by
3 posts views Thread by FredZimmerman | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.