Localizing Locbaml .net wpf4 Applications

Followed every step correctly from this link http://msdn.microsoft.com/en-us/library/ms746621.aspx

When I try to localize the file using locbaml.exe / parse, I keep getting this error -

C: \ MyData \ Projects \ APM V3 \ DEV-3.5.0 \ Meridium \ Admin \ DBUpgMgr2 \ ImportUtility \ DBUpg radeUI \ OBJ \ x86 \ Debug>

LocBaml.exe / parse DBUpgradeUI.resources.dll / out: DBUpgradeUI.csv

Localization Utility Microsoft (R) Baml 0.0.0.0 Copyright (C) Microsoft Corporation 2005. All rights reserved.

Could not load file or assembly: /// C: \ MyData \ Projects \ APM V3 \ DEV-3.5.0 \ Mer idium \ Admin \ DBUpgMgr2 \ ImportUtility \ DBUpgradeUI \ OBJ \ x86 \ Debug \ DBUpgradeUI.resour ces.dll ' or one of its dependencies. An attempt was made to download a program using the wrong format.

Any ideas? I am using Windows 7, visual studio 2010

I also tried this at this link, but to no avail - http://social.msdn.microsoft.com/Forums/en/wpf/thread/d442b337-2397-4a11-ab52-e0f1b6fc91b9

+6
wpf localization
source share
2 answers

OK found the answer. Download compatible with. Locbaml from this site, and then try it - it works pretty well http://michaelsync.net/2010/03/01/locbaml-for-net-4-0

+5
source share

I also struggled with LocBaml, downloaded and compiled the code, and even started debugging when I encountered the described problem.

My solution was to visit https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/how-to-localize-an-application

The important part that I skipped was Copy LocBaml to the bin / Release folder containing the assembly to be analyzed .

When, for example, LocBaml.exe was copied (in my case in e: \ code \ LocalizationTest \ bin \ Debug) I could execute

locbaml.exe /parse en-us/LocalizationTest.resources.dll /out:LocalizationTest.csv 
0
source share

All Articles