user38230
user38230

Reputation: 665

csproj.user file in C# sln

my machine did an automatic reboot, due to patch applied by my network in my company, and last error i saw reported something with the csproj.user file. Now each time i try to launch my solution, it opens and then brings the dialog to send the report to MS. If i look at the error log in event viewer it shows this

EventType clr20r3, P1 devenv.exe, P2 8.0.50727.762, P3 45716759, P4 system, 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, P4 system, P5 2.0.0.0, P6 4889de7a, P7 5a2, P8 0, P9 system.io.filenotfoundexception, P10 NIL.

.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A2E0F92) (0)

any ideas?

Upvotes: 10

Views: 45169

Answers (4)

user38230
user38230

Reputation: 665

This is what I did and one of these helped me:

  1. Restored system to last known good point.

  2. Opened the csproj file instead of the sln file and things were all happy.

Upvotes: 0

John Batdorf
John Batdorf

Reputation: 2542

Delete the .user file. It should get recreated.

Upvotes: 3

Ron Todosichuk
Ron Todosichuk

Reputation: 284

Hmmm, some file got deleted. I hope it was part of your project and not a .net framework file. Try and recreate your project and solution and copy your file back into it.

Hopefully this is not happening when you create a new solution or project. If it is you may need to reinstall Visual Studio.

Upvotes: 0

Jim Anderson
Jim Anderson

Reputation: 3622

I believe the .user file just has your personal IDE settings so they can be restored when you re-open VS. Apparently, your .user file became corrupted. It shouldn't hurt anything to delete it other than you will lose any personal settings in the IDE and have to redo them.

Upvotes: 16

Related Questions