I have two question, one (1). is realted to the error I get when I go to my url www.myurl.com/home/index.aspx, it shows
<compilation debug="false" targetFramework="4.0">
I used Visual Studio 2010 Beta to create a MVC 2 project. Is it possible to use .net 3.5 as well?
The second question (2), do I have to assume correctly that I will have to set up IIS to
route to www.myurl.com/home/index.aspx by itself when the user visits www.myurl.com ?
"because Visual Studio 2010 Beta 2 and ASP.NET MVC 2 Beta
share components which are currently not in sync,
running ASP.NET MVC 2 Beta on VS10 Beta 2 is not supported."
Visual Studio 2010 Beta 2 comes with ASP.NET MVC 2 Preview 2. No other versions of MVC are supported on that version of Visual Studio 2010. Unfortunately, Visual Studio 2010 only supports the version of ASP.NET MVC 2 that it comes with.
When using Visual Studio 2010 and ASP.NET MVC 2 you can choose the target framework when you create the project. You can also later re-target a project by going to the project's properties and choosing a different target framework version. Please note that
this is not a "perfect" operation since there are so many differences between versions of the .NET Framework. I would instead recommend creating a new project with the appropriate target framework and then copying in the files that you need.
"because Visual Studio 2010 Beta 2 and ASP.NET MVC 2 Beta
share components which are currently not in sync,
running ASP.NET MVC 2 Beta on VS10 Beta 2
is not supported."
Member
159 Points
778 Posts
MVC 2 targetFramework="4.0"
Dec 02, 2009 04:47 AM|polynaux|LINK
Hello Guys,
I have two question, one (1). is realted to the error I get when I go to my url www.myurl.com/home/index.aspx, it shows
<compilation debug="false" targetFramework="4.0">
I used Visual Studio 2010 Beta to create a MVC 2 project. Is it possible to use .net 3.5 as well?
The second question (2), do I have to assume correctly that I will have to set up IIS to
route to www.myurl.com/home/index.aspx by itself when the user visits www.myurl.com ?
Member
159 Points
778 Posts
Re: MVC 2 targetFramework="4.0"
Dec 03, 2009 04:10 AM|polynaux|LINK
I have not had any success figuring out how to convert my MVC 2 project back to 3.5.
Member
159 Points
778 Posts
Re: MVC 2 targetFramework="4.0"
Dec 03, 2009 07:04 AM|polynaux|LINK
"because Visual Studio 2010 Beta 2 and ASP.NET MVC 2 Beta
share components which are currently not in sync,
running ASP.NET MVC 2 Beta on VS10 Beta 2 is not supported."
Contributor
2532 Points
1006 Posts
Microsoft
Re: MVC 2 targetFramework="4.0"
Dec 06, 2009 01:03 AM|Eilon|LINK
Visual Studio 2010 Beta 2 comes with ASP.NET MVC 2 Preview 2. No other versions of MVC are supported on that version of Visual Studio 2010. Unfortunately, Visual Studio 2010 only supports the version of ASP.NET MVC 2 that it comes with.
When using Visual Studio 2010 and ASP.NET MVC 2 you can choose the target framework when you create the project. You can also later re-target a project by going to the project's properties and choosing a different target framework version. Please note that this is not a "perfect" operation since there are so many differences between versions of the .NET Framework. I would instead recommend creating a new project with the appropriate target framework and then copying in the files that you need.
Thanks,
Eilon
Participant
1566 Points
1614 Posts
Re: MVC 2 targetFramework="4.0"
Dec 14, 2009 10:41 PM|guenavan|LINK
Whom are you citing?
http://stackexchange.com/users/68767/?tab=accounts