« Generate Sequence Diagrams in Visual Studio 2010 | Main | JsonResult and JsonRequestBehavior in ASP.NET MVC 2 »

11/22/2009

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Mark Henderson

Good Article.. I have been recently looking into this sort of thing..

I noticed when using Item Templates that if you create say a custom control (.ascx) file of the same name as one that already exists e.g: Overview.ascx the code behind file can error.

Instead of creating a Partial Class called say 'Overview1' it references 'Overview' which already exists for the other control and can therefore cause conflicts..

Anyone have a way around this? It has mean't I don't use Item templates at the moment..

David Hayden

It sounds like you are not talking about Code Templates, Display Templates, or Editor Templates in ASP.NET MVC, but the ability to create project and item templates in Visual Studio? Not sure how to get Visual Studio to change it to your desired behavior. You may want to check the Visual Studio Preferences to see if there is a setting.

The comments to this entry are closed.