You have the csproj and csproj.user .
Visual Studio sets the parameters in the user file, which may differ for each user without affecting the entire development team (for example, the Show all files button is clicked). You will not check this file, and deleting it may be inconvenience, but it will not affect the program.
Visual Studio puts the settings in the csproj file itself, which will affect the development of your team (for example, which classes are part of the project, links to DLLs and the target version of the framework). You should check this file when making changes, and deleting it will certainly affect your program.
This is based on my own understanding and experience. Perhaps if you specify what settings you want to leave outside the csproj file, someone else here will be able to list a workaround ...
Grant winney
source share