开发者

Embedding resources in a Mono app

I'm attempting to embed some resources in my app using the following commands (run on an Ubuntu box):

resgen2 -usesourcepath testResource.resx testResource.resources

gmcs -out:Test.exe -debug -platform:x86 -target:winexe test.cs
     -resource:testResource.resources

The compile runs just fine, but when I run the program under Windows I get:

System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the 开发者_如何学运维neutral culture. Make sure "testResource.resources" was correctly embedded or linked into assembly "Test" at compile time, or that all the satellite assemblies required are loadable and fully signed.

Has anybody else had a similar issue?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜