This project is read-only.

NestedProject sample does not work on French (or other localized) Visual Studio


When you try to create a new NestedProject, in a French Visual Studio, a FileNotFOundException is thrown and project is not created.

The exception occurs at the solution.GetProjectTemplate call in RegisteredProjectType.GetVsTemplateFile.
templateFile parameter is "Windows\Console Application". This is not a safe project template ID but the english localized label (in french: "Windows\Application Console").

As explained in page

"The UI strings vary according to locale. Using the name of the zip file is the safest way to pass the TemplateName parameter."