VB.NET Multilingual resource files - work fine in dev - missing in publish
My click-once app has english and spanish content. In development, it runs fine with the two resource files I have - named multilingual.en-US.re开发者_如何学编程sx & multilingual.es-MX.resx accordingly. When I publish it looses these resources for referencing. Anyone have any idea why it would do that? The files reside in the root directory for the app.
A couple of things you can check:
Make sure the build action is set to "Embedded Resource" for those two files. (Click on them in solution explorer and check the properties window.)
In the Publish settings for your application, click the "Application Files" button and make sure the resource dlls are set to "Include". If they're not, ClickOnce might not pick them up.
精彩评论