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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -