views:

14

answers:

0

My source project includes a LINQ to SQL DBML file called Context.dbml. This auto-generates a file called Context.designer.vb, which is included in the source project.

screenshot

I've created a Visual Studio template from this project. But when I go to create a new project using this template, Context.designer.vb is not included, so the new project doesn't compile.

screenshot

I can manually include the designer file (or edit the DBML file so that it's re-generated), but this is a nuisance.

Any idea why the designer file is being excluded from the new project?