Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to use solution of VC#2008 in VC#2005

How to use solution of VC#2008 in VC#2005

Scheduled Pinned Locked Moved C#
csharptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Seraph_summer
    wrote on last edited by
    #1

    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.

    C D 2 Replies Last reply
    0
    • S Seraph_summer

      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.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      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

      S 1 Reply Last reply
      0
      • C Colin Angus Mackay

        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

        S Offline
        S Offline
        Seraph_summer
        wrote on last edited by
        #3

        thanks, but how to save it as .net2.0 project? save what? *.sln? how?

        C 1 Reply Last reply
        0
        • S Seraph_summer

          thanks, but how to save it as .net2.0 project? save what? *.sln? how?

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • S Seraph_summer

            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.

            D Offline
            D Offline
            Donkey Master
            wrote on last edited by
            #5
            1. 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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups