I am testing out LocBaml and a simple .NET 4 Wpf program with a button and a label only.
I add the following to the PropertyGroup in the .csproj file
Now I open a Visual Studio command promt and build both LocBaml and my test project with msbuild. Then I copy locbaml.exe to the bin\debug of my test project. Then I add uid's to the testproject by running "msbuild /t:update LocApp1.csproj". Now
it is time to generate the csv file by using locbaml. I enter "locbaml /parse en\LocApp1.resources.dll" from the bin\debug folder and hit enter. I get the following error:
Microsoft (R) Baml Localization Utility 0.0.0.0
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Could not load file or assembly 'file:///D:\Projects\LocApp1Soln\LocApp1\bin\Debug\en\LocApp1.resources.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
What am I doing wrong here? The file is there and ildasm only show a dependency on mscorlib for the satellite assembly.
Directory of D:\Projects\LocApp1Soln\LocApp1\bin\Debug\en
19.04.2010 22:08 4 608 LocApp1.resources.dll
I am using VS2010 Professional on Windows 7 64bit.
View Complete Post