locked
Multilingual Resource Kit - satellite resources

    Question

  • When I try to add the multilingual toolkit to an existing project I get errors that I can not resolve

    proj1.csproj(265,5): error : Generation of satellite resource failed calling resgen.exe
    proj1.csproj(265,5): error : Build of multilingual resource files failed.
    proj1.csproj(265,5): error : Multilingual App Toolkit build completed with errors.

    I have successfully added the toolkit to other projects.


    John... the original Visio MVP (since 1993) Visio.MVPs.org

    Wednesday, June 5, 2013 3:00 AM

Answers

  • Mystery solved --- almost.

    I created a new resource file called Resources and moved the resx files to it and the errors disappeared.

    There must be something in the build that expects the resource files in a specific folder.


    John... the original Visio MVP (since 1993) Visio.MVPs.org

    Wednesday, June 5, 2013 3:51 AM

All replies

  • Mystery solved --- almost.

    I created a new resource file called Resources and moved the resx files to it and the errors disappeared.

    There must be something in the build that expects the resource files in a specific folder.


    John... the original Visio MVP (since 1993) Visio.MVPs.org

    Wednesday, June 5, 2013 3:51 AM
  • I'm assuming that this is a phone project.  For phone projects, the XLF file needs to be in the same folder and have the same root filename as the language neutral file. For example to add German with a language neutral file of StringAssets\MyResources.resx, you would add StringAssets\MyResources.de-DE.resx.  Since MAT uses the same .NET model to create the satellite assemblies, the filename and location still need to be the same for the XLF files. In this example, StringAssets\MyResources.de-DE.XLF, which will create or update the StringAssets\MyResources.de-DE.resx file via the associated custom tool.
    Thursday, December 26, 2013 5:18 PM
  • Thanks Thomas. Starting from scratch and doing a copy paste got around the problem. I have done a few other ML Toolkit projects without serious issues.

    John... the original Visio MVP (since 1993) Visio.MVPs.org

    Thursday, December 26, 2013 6:23 PM