Creating custom item templates for my web app
I've got a web app project that I'm looking at creating some item templates for in VS 2010, any new pages created from these templates need to have a using statement for my mainClasses folder. The problem is that every time a new page is created VS changes the using statement from using MyProject.mainClasses to MyProject.LocationOfPage.mainClasses. It is obviously looking for the project name so it can change the namespace accordingly but annoyingly its also changing my using statement, which breaks my project.
I think this would't be a problem if I had a website project and an App_Code folder as I wouldn't need a using statement but it's not and I can't so I'm stuck :(
Any help greatfully appreciated if anyone can figure out what I'm bumbling on about.
I'm using C# by the way and the templates technique from the book(ish)
Last edited by goose; August 5th, 2013 at 11:52 AM..