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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Convert projects from Visual Stuido 2005 to Visual Studio 2003

Convert projects from Visual Stuido 2005 to Visual Studio 2003

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studiohelpquestion
10 Posts 5 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.
  • A Offline
    A Offline
    Allad
    wrote on last edited by
    #1

    Hello, I've just installed Visual Studio 2005 and eagerly I converted the C++ project I'm working on, from Studio 2003 project format to Studio 2005 one. But I can't get the project to compile. Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration. Thus, I need to convert my project back to Studio 2003 format. But I don't know how. Can someone help? Thanks

    T K N B 4 Replies Last reply
    0
    • A Allad

      Hello, I've just installed Visual Studio 2005 and eagerly I converted the C++ project I'm working on, from Studio 2003 project format to Studio 2005 one. But I can't get the project to compile. Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration. Thus, I need to convert my project back to Studio 2003 format. But I don't know how. Can someone help? Thanks

      T Offline
      T Offline
      tonyro
      wrote on last edited by
      #2

      Your 2003 sln file should still be in your directory. I think all you need to do is load that instead of the converted 2005 sln file (and delete it altogether if you don't want to eventually upgrade) and you should be go to go.

      A 1 Reply Last reply
      0
      • A Allad

        Hello, I've just installed Visual Studio 2005 and eagerly I converted the C++ project I'm working on, from Studio 2003 project format to Studio 2005 one. But I can't get the project to compile. Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration. Thus, I need to convert my project back to Studio 2003 format. But I don't know how. Can someone help? Thanks

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #3

        You might find this article of interest... http://www.developer.com/net/cplus/article.php/10919_3493706_1[^] Kevin

        A 1 Reply Last reply
        0
        • A Allad

          Hello, I've just installed Visual Studio 2005 and eagerly I converted the C++ project I'm working on, from Studio 2003 project format to Studio 2005 one. But I can't get the project to compile. Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration. Thus, I need to convert my project back to Studio 2003 format. But I don't know how. Can someone help? Thanks

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          Allad wrote:

          Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration.

          So why don't you go ahead and fix it? Why leave bad code in your source?

          A 1 Reply Last reply
          0
          • A Allad

            Hello, I've just installed Visual Studio 2005 and eagerly I converted the C++ project I'm working on, from Studio 2003 project format to Studio 2005 one. But I can't get the project to compile. Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration. Thus, I need to convert my project back to Studio 2003 format. But I don't know how. Can someone help? Thanks

            B Offline
            B Offline
            Bob Stanneveld
            wrote on last edited by
            #5

            Hello, Did you make a backup? VS 2005 asks this before it converts the file. Anyway, as Nishant already said it: fix the errors and use the better compiler. The standard conformance is far better than any previous compiler written by Microsoft. Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

            A 1 Reply Last reply
            0
            • N Nish Nishant

              Allad wrote:

              Visual Studio 2005 compiler has been made more ISO compliant so it no longer accepts implicit int declaration.

              So why don't you go ahead and fix it? Why leave bad code in your source?

              A Offline
              A Offline
              Allad
              wrote on last edited by
              #6

              Nishant Sivakumar wrote:

              So why don't you go ahead and fix it? Why leave bad code in your source?

              In my project I'm using a library with thousands of code lines. And the real problem is that library. I don't dare mess with such a huge amount of code I've not written myself. Anyway thanks for replying.

              1 Reply Last reply
              0
              • K Kevin McFarlane

                You might find this article of interest... http://www.developer.com/net/cplus/article.php/10919_3493706_1[^] Kevin

                A Offline
                A Offline
                Allad
                wrote on last edited by
                #7

                Thanks for your reply. I wish I had read that article before upgrading. Now I just cant compile my project.

                1 Reply Last reply
                0
                • T tonyro

                  Your 2003 sln file should still be in your directory. I think all you need to do is load that instead of the converted 2005 sln file (and delete it altogether if you don't want to eventually upgrade) and you should be go to go.

                  A Offline
                  A Offline
                  Allad
                  wrote on last edited by
                  #8

                  In the updrade log generated by VC 2005 it is said there is a backup sln file in the project directory. It is called myproject.sln.old but I can't find it even in the hidden files. Do you have any idea?

                  1 Reply Last reply
                  0
                  • B Bob Stanneveld

                    Hello, Did you make a backup? VS 2005 asks this before it converts the file. Anyway, as Nishant already said it: fix the errors and use the better compiler. The standard conformance is far better than any previous compiler written by Microsoft. Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

                    A Offline
                    A Offline
                    Allad
                    wrote on last edited by
                    #9

                    Bob Stanneveld wrote:

                    Did you make a backup? VS 2005 asks this before it converts the file.

                    In the updrade log generated by VC 2005 it is said there is a backup sln file in the project directory. It is called myproject.sln.old but I can't find it even in the hidden files. Do you have any idea?

                    B 1 Reply Last reply
                    0
                    • A Allad

                      Bob Stanneveld wrote:

                      Did you make a backup? VS 2005 asks this before it converts the file.

                      In the updrade log generated by VC 2005 it is said there is a backup sln file in the project directory. It is called myproject.sln.old but I can't find it even in the hidden files. Do you have any idea?

                      B Offline
                      B Offline
                      Bob Stanneveld
                      wrote on last edited by
                      #10

                      Hello, Did you save the converted solution to another directory? Otherwise I don't know where the file might be. Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

                      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