Avatar of chuang4630
chuang4630

asked on 

How to build WPF solution into single exe for specific language

I have to build the WPF solution into single EXE. Not only that, it should be language specific. For example,

MyApp.exe for English (or neutual)
MyApp.exe for Japanese
MyApp.exe for German

I have created three resources file: under MyProject\MyResourcesFolder:

MyProject\MyResourcesFolder\MyResource.resx
MyProject\MyResourcesFolder\MyResource.ja-JP.resx
MyProject\MyResourcesFolder\MyResource.de-DE.resx

Anyone knows how to do it?

BTW, I use VS2012. The solution is on .NET 4.5.

Thanks.
.NET ProgrammingC++

Avatar of undefined
Last Comment
chuang4630
Avatar of sarabande
sarabande
Flag of Luxembourg image

you may create 3 configurations of your project. the configuration only would differ by the resource file. i would do it in the sources rather than by exchanging the resx object file. for example each configuration may use a different rc file.

Sara
Avatar of chuang4630
chuang4630

ASKER

How do I do this?
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of chuang4630
chuang4630

ASKER

Thank you.
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo