Search code examples
wpflocalizationlocbaml

Problem generating satellite assembly from CSV (using LocBaml)


I've been trying to generate a satellite assembly using the LocBaml tool downloaded from here, but haven't been successful. I'm using the code present in the book "WPF 4 Unleashed". Here is what I'm doing :

  • I first created a CSV file:

    LocBaml /parse ProjectName.g.en-US.resources /out:en-US.csv
    

    This step was successful.

  • Next I modified the file and saved it as nb-NO.csv

  • Now when I try to generate the dll file using

    LocBaml /generate ProjectName.resources.dll /trans:nb-NO.csv /cul:nb-NO
    

    The tool runs, but no resource file is generated (There is no exception).

Am I doing anything wrong? Is the above command not correct?


Solution

  • You are missing the out parameter. MSDN help.

    LocBaml /generate ProjectName.resources.dll /trans:nb-NO.csv /out:c:\ /cul:nb-NO