471,086 Members | 1,205 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

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?

Thanks,
Brett

Jul 11 '06 #1
0 1168

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.