nikhilk/scriptsharp — Issue #157: Templates in VS11 Beta
Author: elkdanger
Created: 2012-03-06 10:35:24+00:00
State: open

The first thing I noticed is that the Script# templates do not work in VS11 Beta, at least not out of the box. However, I am able to successfully load and compile a Script# solution that had been created using VS2010.

In attempt to get them to work, I copied the templates from VS10 into VS11, re-registered templates and created a new Script# Script Library project. This works fine.

I then added an Import Library project, which fails because it cannot find various files in the template, like "AssemblyInfo.cs" and "Class1.cs". These files are present and correct in the template zip file.

I tracked it down to one difference - the .zipinfo file. This file exists in the Script Library project template but not in the Import Library template. After copying it from the Script Library template to the Import Library template (and modifying the file to suit its new template name and contents, etc) I can now successfully create an Import Library project in VS11 Beta.

Unfortunately I can't find out a lot of information about this file - is it something proprietary to Script#? I've had a look through some other template types and I can't see it being used anywhere else. It's also interesting that only 1 Script# project seems to use it, and VS11 has some sort of problem loading templates that do not have it.

Do you think it would be appropriate to modify the templates project so that all templates now have this file?