Move the Visual Studio 2005 folder to another location?

Hi all,

I'm a beginer with VS,

I started coding my first program inside the \my documents\Visual Studio 2005\ folder. now I want to move this folder to another location. What should I do if I want to keep all things together and keep my program organized inside the MVB2005EE program

Thanks in advance,

gren



Answer this question

Move the Visual Studio 2005 folder to another location?

  • David B.

    Thank you both for helping me and thanks for bearing with me ;)

    The problem is not a path problem in the options dialog.

    Here is what I do, step by step:

    In VSE's options dialog, I update all path to the new folder .

    Then I move \old folder\Visual Studio 2005\ to \new folder\Visual Studio 2005\

    Then I start the file \new folder\Visual Studio 2005\Projects\myprogram\myprogram.sln , this launches Visual Studio and loads my program.

    At the program startup, in the "error list" window, I get:

    Error 1 Unable to open module file 'c:\old folder\Visual Studio 2005\Projects\myprogram.Designer.vb': The system cannot find the file specified.

    Error 2 Unable to open module file 'c:\old folder\Visual Studio 2005\Projects\myprogram.vb': The system cannot find the file specified.

    Error 3 'Form1' is not a member of 'myprogram'.

    On the right side, in the "solution explorer" window, I click on the top item "myprogram" and in the properties window, the path is correct, but greyed out.

    Still in the "solution explorer" window, I click on "myprogram.vb" and in the properties window, the path is NOT correct, it points to the old folder, but I can't correct it as it is greyed out.

    I beleive correcting this path would solve everything but I can't figure where to do that.


  • Darren Tao

    On the Options page (Tools...Options):

    Under: Environment / Import and Export settings, there's a 'settngs' folder - that s probably the one thats' causing an error on startup. It recreates the settings file in that location. If you move it, it'll complain the next time you start VB.

    Under: Projects and Solutions / General, there are some paths: are you saying these are grayed out Those should be able to be set.



  • maitung

    Ohhhhhhhhhh

    You can move the contents of that entire directory to another Directory and then

    Make sure the "Show all Options box" is checked

    Select

    Tools | Options |Projects and Solutions | General options box

    Insert the new directory into:

    the Projects textbox.



  • keithster

    Hello, Thanks for replying me.
    When you tell about a "project", do you mean the "\my documents\Visual Studio 2005\" folder
    I don't only want to move my program's folder, I want to move the whole
    "\my documents\Visual Studio 2005\" folder. My program is inside this folder.
    The last time I tried to move it, there were some "missing links", and I didn't know how to update them, there paths were greyed out in the VS interface.
    Help would be welcomed.
    gren

  • Busy

    I was tired with this problem and started recoding from scratch inside the new folder. However, MSVB2005EE re-creates the "Visual Studio 2005" folder inside "my documents" at each startup. This folder only contains Backup Files. I didn't find the option to move the backups' path, anyone can help

    Thanks


  • ChupaChupa

    Your project is in a directory....

    Simply copy that directory to the location of your choice.

    Open the project with File. All files in a project are relatively addressed as opposed to absolutley addressed.

    Good Luck.



  • Move the Visual Studio 2005 folder to another location?