Hi Andy (and everyone else),
Here are the steps I followed to fix that problem:
- Locate the .sln file pertaining to the project you need to move. In my case, the file is client.sln
- Open the file with notepad or any other text editor, and look for the "Project" line, which has the name and relative path of the vbproj file. In my case, it said Client\Client.vbproj. That's all I needed from the sln file, so closed it. If you wanted to move your project to a different location, this is where you would change the path for it. For example, you could change the path to "Client-Server\Client.vbproj" then you need to make sure you move the vbproj file to that location.
- Open the vbproj file identified in the previous step with your fav text editor. As this is in all reality an xml document with a different file extension, I open mine with XML-Notepad which allows me to see things in a treeview format.
Go through the different options in that file and check for any path that needs to be adjusted. You primarily need to look for the items located under:
Project\ItemGroup\Compile
but it's not a bad idea to look at everything that is under any of the ItemGroup (there are a few)
Make note of the different files as you go through, move them to the destination folder of your choice, and adjust the path withi the vbproj file as you go.
I hope this helps. I'm considering putting together a "move project" app whenever I find a few free minutes, just so that if I ever need to do that again, I don't need to do it manually...
Cheers,
Realm174