Do you recall if you were ever presented with an option to "upgrade the solution" when you opened the project in VS2010? If so and you declined the option, can you try using the upgrade commandline switch to upgrade the solution/project. Here's the documentation
for the upgrade switch:
Do you recall if you were ever presented with an option to "upgrade the solution" when you opened the project in VS2010? If so and you declined the option, can you try using the upgrade commandline switch to upgrade the solution/project. Here's the documentation
for the upgrade switch:
"The solution or project you are open was created in a previous version of Visual Studio"
It would then have taken you through the Visual Studio conversion wizard. It's possible that the conversion process failed. Or that the previous developer setup a mixed development environment to allow both VS2008 and VS2010 to work on the same project.
Here's a thread that discusses a mixed Visual Studio development environment.
Anyway, I think if you tried the upgrade commandline switch in the previous article I posted, it may resolve the issue. Obviously, you will want to make a backup of the current project before attempting the upgrade commandline switch.
chohmann
Star
9385 Points
1644 Posts
Re: Adding a Method to a Controller and Creating Views
Jun 20, 2011 05:21 PM|LINK
Are you able to compile the project an run it? If not, what are the compilation errors?
harrisrashee...
Member
237 Points
117 Posts
Re: Adding a Method to a Controller and Creating Views
Jun 21, 2011 12:48 AM|LINK
I can compile the project.
chohmann
Star
9385 Points
1644 Posts
Re: Adding a Method to a Controller and Creating Views
Jun 21, 2011 03:04 AM|LINK
Do you recall if you were ever presented with an option to "upgrade the solution" when you opened the project in VS2010? If so and you declined the option, can you try using the upgrade commandline switch to upgrade the solution/project. Here's the documentation for the upgrade switch:
http://msdn.microsoft.com/en-us/library/w15a82ay.aspx
harrisrashee...
Member
237 Points
117 Posts
Re: Adding a Method to a Controller and Creating Views
Jun 21, 2011 03:18 AM|LINK
It did ask me to upgrade my framework version.
chohmann
Star
9385 Points
1644 Posts
Re: Adding a Method to a Controller and Creating Views
Jun 21, 2011 04:38 AM|LINK
The message would have been something like:
"The solution or project you are open was created in a previous version of Visual Studio"
It would then have taken you through the Visual Studio conversion wizard. It's possible that the conversion process failed. Or that the previous developer setup a mixed development environment to allow both VS2008 and VS2010 to work on the same project. Here's a thread that discusses a mixed Visual Studio development environment.
http://stackoverflow.com/questions/1611545/visual-studio-2010-and-2008-mixed-development-environment-possible
Anyway, I think if you tried the upgrade commandline switch in the previous article I posted, it may resolve the issue. Obviously, you will want to make a backup of the current project before attempting the upgrade commandline switch.