问题描述
通过此链接 http://msdn.microsoft,已正确正确地执行了每个步骤. com/en-us/library/ms746621.aspx
当尝试使用locbaml.exe/parse本地化文件时,我一直收到此错误-
When trying 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 \ DBUpgradeUI \ obj \ x86 \ Debug>
C:\MyData\Projects\APM V3\DEV-3.5.0\Meridium\Admin\DBUpgMgr2\ImportUtility\DBUpgradeUI\obj\x86\Debug>
LocBaml.exe/parse DBUpgradeUI.resources.dll/out:DBUpgradeUI.csv
LocBaml.exe /parse DBUpgradeUI.resources.dll /out:DBUpgradeUI.csv
Microsoft(R)Baml本地化实用程序0.0.0.0版权所有(C)Microsoft Corporation2005.保留所有权利.
Microsoft (R) Baml Localization Utility 0.0.0.0Copyright (C) Microsoft Corporation 2005. All rights reserved.
无法加载文件或程序集'file:///C:\ MyData \ Projects \ APM V3 \ DEV-3.5.0 \ Meridium \ Admin \ DBUpgMgr2 \ ImportUtility \ DBUpgradeUI \ obj \ x86 \ Debug \ DBUpgradeUI.resources.dll"或其依赖项之一.试图用以下命令加载程序格式不正确.
Could not load file or assembly 'file:///C:\MyData\Projects\APM V3\DEV-3.5.0\Meridium\Admin\DBUpgMgr2\ImportUtility\DBUpgradeUI\obj\x86\Debug\DBUpgradeUI.resources.dll' or one of its dependencies. An attempt was made to load a program withan incorrect format.
有什么想法吗?我正在使用Windows 7,Visual Studio 2010
Any ideas? I'm using windows 7, visual studio 2010
也通过此链接尝试了此操作,但无济于事- http://social.msdn.microsoft.com/Forums/en/wpf/thread/d442b337-2397-4a11-ab52-e0f1b6fc91b9
Also tried this from this link but to no avail - http://social.msdn.microsoft.com/Forums/en/wpf/thread/d442b337-2397-4a11-ab52-e0f1b6fc91b9
推荐答案
确定找到了答案.从此站点下载.net兼容的locbaml,然后尝试-效果很好 http://michaelsync.net/2010/03/01/locbaml-for-net-4-0
OK found the answer. Download a .net compatible locbaml from this site and then try - works pretty good http://michaelsync.net/2010/03/01/locbaml-for-net-4-0
这篇关于NET WPF4应用程序的Locbaml本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!