Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"The project file was unloaded" when moving VS2010 project to another server

Tags:

I have moved a Visual Studio 2010 project to another server by copying and pasting the folder contents into another folder on a different server.

My understand was that VS2010 handled this well; when I have done this locally it has never been an issue.

Now I get an error like this:

enter image description here

When I right click and "Reload project", the list of files briefly appears before disappearing again, giving the original error.

Am I doing something wrong?

like image 685
John 'Mark' Smith Avatar asked Jun 17 '14 15:06

John 'Mark' Smith


People also ask

How do I load an unloaded project in Visual Studio?

In Solution Explorer, select the projects you want to load (press Ctrl while clicking to select more than one project), and then right-click on the project and choose Reload Project. Visual Studio will remember which projects are loaded the next time you open the solution locally.

Why is my Visual Studio project unloaded?

Why does this happen? Generally, it is because the path of project has been changed or its name has been changed. Regardless of the changed path or name, Visual Studio failed to load the project because it could not be found based on the original path.

How do you unload a project in VS code?

NET Framework and other projects of that style, first unload the project (right-click on the project node in Solution Explorer and select Unload Project). Then, right-click on the project and choose Edit <projectname>. You don't have to use solutions or projects in Visual Studio to edit, build, and debug code.


1 Answers

I experienced the same problem today. Here is what I did and worked for me :

  1. Open the .sln file.
  2. Right click on the project folder and click Reload project.
  3. You will see the projects and folders that you originally had.
  4. You will see .xml publish file . Double click it .. You should be good to go now.
like image 76
Bipashwi Baral Avatar answered Oct 05 '22 21:10

Bipashwi Baral