Csproj.user file in c # sln

my machine performed an automatic reboot due to a patch applied by my network at my company and the last error I saw was a message with the csproj.user file. Now every time I try to run my solution it opens and then brings up a dialog to send a report to MS. If I look at the error log in the event viewer it shows this

EventType clr20r3, P1 devenv.exe, P2 8.0.50727.762, P3 45716759, system P4, P5 2.0.0.0, P6 4889de7a, P7 5a2, P8 0, P9 system.io.filenotfoundexception, P10 NIL.

EventType clr20r3, P1 devenv.exe, P2 8.0.50727.762, P3 45716759, system P4, P5 2.0.0.0, P6 4889de7a, P7 5a2, P8 0, P9 system.io.filenotfoundexception, P10 NIL.

.NET Runtime version 2.0.50727.3053 - Machine crash error (7A2E0F92) (0)

any ideas?

+3


source to share


4 answers


I believe the .user file only has your personal IDE settings so that it can be restored when VS is reopened. Apparently your .user file has become corrupted. You don't have to delete anything to remove it, except that you will lose any personal settings in the IDE and have to redo them.



+8


source


Delete the .user file to be restored.



0


source


Hmmm, some files have been deleted. I hope this is part of your project and not a .net framework file. Try and rebuild your project and solution and copy the file back to it.

Hopefully this doesn't happen when you create a new solution or project. If possible, you may need to reinstall Visual Studio.

0


source


This is what I did and one of them helped me

  • Restored system to last known point

  • opened the csproj file instead of the sln file and everything was fine.

0


source







All Articles