Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving a Visual Studio project from a different computer?

I am using Visual Studio 2019, and I am trying to open a project sent by my friend. However, when I tried opening the solution or the project, this error shows up:

An error occurred in '[Unknown]' while attempting to open <filename>

File path: (The path from my friend's computer)
Frame GUID: 
Frame mode:
Error code: 0x80004005

I have tried to change the file path, but the file path is correct in my computer, so what is this file path referencing to ?

like image 849
Phong2902 Avatar asked Oct 17 '25 11:10

Phong2902


1 Answers

Close the solution, then delete the folder named .vs (note the dot) in the project directory and restart Visual Studio. This folder contains cached data that's computer-dependent.

You can also just close the window with the error and reopen the file from the solution explorer.

like image 126
PMF Avatar answered Oct 19 '25 09:10

PMF



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!