Certain user specific configurations are stored in .csproj.user. How do I tell MS Visual Studio to store this information in the .csproj every time?
It shouldn't hurt anything to delete it other than you will lose any personal settings in the IDE and have to redo them.
csproj" is a Visual Studio . NET C# Project file extension. This file will have information about the files included in that project, assemblies used in that project, project GUID and project version etc. This file is related to your project. It will be automatically generated when we create .
I think what i have concluded is that the CSPROJ and SLN files do not get checked into TFS and must be manually passed to each developer when they initially get latest from TFS.
I had the same problem and the only solution I could come up with was to manually edit the .csproj.user
file, cut the configuration I wanted and paste in the .csproj
file. It worked fine, despite being a somewhat user-hostile solution.
You can't. Visual Studio stores the user-specific settings in the .csproj.user
file, and the build settings in the .csproj
file. This is to allow multiple users to work on a project, which is critical when working in a team with source control.
That being said, you can always delete the .user
file, and it will be recreated, at any point in time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With