How to use solution of VC#2008 in VC#2005
-
I have a solution in VC#2008, now I want to open it in VC#2005, is it possible, any solution? because vc#2008 can not installed on my notebook computer, that's why I use vc#2005 instead. thanks.
-
I have a solution in VC#2008, now I want to open it in VC#2005, is it possible, any solution? because vc#2008 can not installed on my notebook computer, that's why I use vc#2005 instead. thanks.
xiachunmin wrote:
I have a solution in VC#2008, now I want to open it in VC#2005, is it possible, any solution? because vc#2008 can not installed on my notebook computer, that's why I use vc#2005 instead.
If you use any of the new features in VS2008 then you cannot go backwards. If you don't use any of the new features then VS2008 can save it as a .NET 2.0 project which will work.
Upcoming FREE developer events: * Glasgow: SQL Server Managed Objects AND Reporting Services ... My website
-
xiachunmin wrote:
I have a solution in VC#2008, now I want to open it in VC#2005, is it possible, any solution? because vc#2008 can not installed on my notebook computer, that's why I use vc#2005 instead.
If you use any of the new features in VS2008 then you cannot go backwards. If you don't use any of the new features then VS2008 can save it as a .NET 2.0 project which will work.
Upcoming FREE developer events: * Glasgow: SQL Server Managed Objects AND Reporting Services ... My website
thanks, but how to save it as .net2.0 project? save what? *.sln? how?
-
thanks, but how to save it as .net2.0 project? save what? *.sln? how?
I don't have VS2008 in front of me right now. But as I recall you can right click the project or solution and select properties. From there you should be able to find a drop down (combo box) with the target framework. Target it at .NET 2.0. VS will request to reload the solution/project (because it needs to unload the project/solution, make the change to the file then reload it)
Upcoming FREE developer events: * Glasgow: SQL Server Managed Objects AND Reporting Services ... My website
-
I have a solution in VC#2008, now I want to open it in VC#2005, is it possible, any solution? because vc#2008 can not installed on my notebook computer, that's why I use vc#2005 instead. thanks.
- create a new VC#2005 solution where your VC#2008 poject is, but with a different name 4) solve compilation errors 5) you're good to go What I do is, I have both solution files on the same folder, using different names, for instance MyProject.sln and MyProject2008.sln, and I can use either, with the same source files and all and all. I don't know what would happen to the project settings, though, like post-build events and other compilation settings. All in all, you'll find less problems than you think. Oh, and when you use VC#2008, make sure that "Target Framework" is .Net 2.0, and not 3.5 or 3.0. VC#2005 doesn't have the same support for the lattest versions. And there may be some syntactic sugar added in 2008, but you probably stumbled upon it and will recognize it when the compile errors come up.
"Computer Science is no more about computers than astronomy is about telescopes." - Edsger Dijkstra