开发者

I have VS2010RC and VS2008 installed - how can I run MVC 2 with both tools?

I just downloaded the release version of MVC 2, pretty excited about that! Problem is, I can now create a MVC project in VS2010 but I don't seem to be able to do so in VS2008.

We are using VS2010 RC for our main project. We need to use VS2008 for a new project so we can use the Connector/NET for MySQL, and I would love to be able to use MVC for this project. Does anybody know if this is possible? What am I missing, if anything?

Thanks, Dav开发者_运维百科e


I'm going to have to disagree with the other answer's line of discussion about this being impossible. I've been working heavily with MVC 2 RTM since it was released in VS2010 RC. Just now, just to see if I could do it since I saw this question, I was able to create a VS2008-based MVC2 project.

Because of this, I suspect you did not install MVC 2 RTM properly. You SHOULD have done the following (and I'm unsure about one step):

  1. Uninstall "ASP.NET MVC 2"
  2. ??? Uninstall "Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools"
  3. Install the new RTM.

Like I said, I forget whether or not I did step #2 but some people are saying to do it when I google around about it now. I tried to find the blog post that I used to use but is.gd lost my link (grr...). However, despite what the others are saying, I am definitely able to do what you said.

....

The other option: You could always have somebody else who doesn't have VS2010 RC installed create the projects. The problem with 2008 should only be related to creating the projects and not necessarily working with the projects. Give that a try.


No, that's not possible. Quote from the release notes:

Because Visual Studio 2008 and Visual Studio 2010 RC share a component of ASP.NET MVC 2, installing the ASP.NET MVC 2 RTM release on a computer where Visual Studio 2010 RC is also installed is not supported

I guess you could wait 12 more days and throw away VS 2008 :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜