asp.net mvc - Excluding shared editor templates from project in Visual Studio doesn't work -
i want run asp.net mvc project without using particular shared editor template has errors eg.
~\views\shared\editortemplates\string.cshtml
but when right click , exclude project, used when project run , errors out. should tell visual studio ignore template?
i'm using visual studio 2012 professional.
if want keep file, not have asp.net mvc use it, rename file. call -string.cshtml
.
displaytemplates , editortemplates looked in respective directories, matching filenames type used on. when exclude them project physically still present , found, therefore still used.
Comments
Post a Comment