문제

I have a situation, where user can select program language. After selecting it i set CurrentCulture and CurrentUICulture to the selected one, and load the appropriate language text for my controls from resource (.resx) files.

If I run the program from Visual Studio it works perfectly. If I run my release version (install my .msi) it only shows in English.

도움이 되었습니까?

해결책

So there is a difference between your debug and release builds. Is the resx included in your build directory for both the debug and the release?

My guess is that you should look at the Build Action and Copy to Output Directory properties of your resx file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top