I usually work with .NET using Git for versioning. In my team, we work in parallel and we often commit our code to integrate in the application. Everything is fine BUT the Visual Studio's solution and project files. We found two ways:
- Never commit those files, everyone has his own
- Include those file in the version system
Both ways have pros&cons, but basically we struggle every time we pull from central repo. Here some spare issues we found: (in parentesis, the reference to the above list)
- We have to include other's files in the project (1) or include our newest (2)
- If we work on different architectures (x86/x64) we have to manually change
.csproj
files (2) - Same issues replied for references and NuGet packages
and so on. Is there a proper workflow I can use?