If you add a new "MVC Application and Test" to an existing solution and for example give it a name of MySite - it will correctly create a folder called "MySite" but the two projects it adds have the default name of MvcApplication(Tests) which I think should
be MySite and MySiteTests.
Unfortunately, that is because Solution Templates in Visual Studio don't have any means to control the name of the individual projects, believe it or not.
So it's not a "bug" with MVC project templates per se. I think it's a shortcoming of the current solution templates. We're aware of this issue. Just not sure
if or when it will get fixed.
Phil Haack (http://haacked.com/)
Senior Program Manager, Microsoft
What wouldn’t you do for a Klondike bar?
Marked as answer by craigw7272 on Dec 12, 2007 10:38 PM
Adding an MVC Page vs MVC Content Page breaks your existing asp.net flow which is to always add the page and simply "Check" that you want a master and then select.
craigw7272
Member
583 Points
201 Posts
New MVC project issue
Dec 12, 2007 05:34 PM|LINK
Not sure if this is by design or a bug.
If you add a new "MVC Application and Test" to an existing solution and for example give it a name of MySite - it will correctly create a folder called "MySite" but the two projects it adds have the default name of MvcApplication(Tests) which I think should be MySite and MySiteTests.
-c
Haacked
Contributor
6901 Points
412 Posts
Re: New MVC project issue
Dec 12, 2007 08:47 PM|LINK
Unfortunately, that is because Solution Templates in Visual Studio don't have any means to control the name of the individual projects, believe it or not.
So it's not a "bug" with MVC project templates per se. I think it's a shortcoming of the current solution templates. We're aware of this issue. Just not sure if or when it will get fixed.
Senior Program Manager, Microsoft
What wouldn’t you do for a Klondike bar?
craigw7272
Member
583 Points
201 Posts
Re: New MVC project issue
Dec 13, 2007 01:48 AM|LINK
ok cool - another possible:
Adding an MVC Page vs MVC Content Page breaks your existing asp.net flow which is to always add the page and simply "Check" that you want a master and then select.
-c
slynch
Member
349 Points
71 Posts
Re: New MVC project issue
Dec 13, 2007 02:32 PM|LINK
The standard ASP.Net Web Form page in a Web Application (vs a Web Site) do it the same way.
It is only the Web Site type projects that have the Checkbox for Select master page in the Add New Item dialog.