Friday, July 07, 2006 11:04 PMI'm getting an error when trying to use LocBaml. I'm running the June CTP, but I could only find the code to compile LocBaml in the Beta 2 examples, which may explain the problem.
The error is: File 'Puzzle.resources.dll' not found.
- parse the Puzzle.resources.dll and send output to C:\ [works fine]
- move to C:\
- Double check-mark up, [its there]
- run: LocBaml -g Puzzle.resources.dll /trans:WSLocal.cvs /out:c:\ /cul:en-US
Now it complains that 'Puzzle' assembly cannot be loaded from the current working directory or from the GAC.
So, quite puzzled now, I move the contents of my Debug directory into C:\ also. Still no change..
[edit: The assembly is not signed, and the main assembly and the resources.dll are the same file version]
I'd love a hint - doesn't even have to solve the problem but I'm out of ideas... =)
Saturday, July 08, 2006 6:16 PM
Try placing your main assembly(puzzle.dll/exe) in the locbaml directory. If you have dependencies, such as custom controls, main assembly is required for generation.
I hope this helps
Monday, July 10, 2006 4:35 PMI moved things around and got things working. I thought by adding the LocBaml to my execution path and having my CWD with the main assembly that it would be enough. Guess not.