merge asp.net mvc with existing asp.net app -


i have merged , asp.net 4.0 app asp.net mvc 3 app.

everything works, except gravy right clicking on controllers folder , getting:

add >> add controller

same views, etc, etc.

any pointers?

open corresponding .csproj file using favorite text editor (not visual studio) , add following:

<propertygroup>     ...      <projecttypeguids>{f85e285d-a4e0-4152-9332-ab1d724d3325};some other guids not important</projecttypeguids>     ... </propertygroup> 

notice {f85e285d-a4e0-4152-9332-ab1d724d3325} guid. indicates it's asp.net mvc 2 project , should visual studio menus.

if asp.net mvc 3 rc project guid {e53f8fea-eae0-44a6-8774-ffd645390401}.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -