I have a Visual Studio solution with a number of projects, and I would like to add an additional project that is empty, and initially commit it so that all other developers will pull this project, but ignore subsequent changes to the both the project file, and the entire project folder by all developers. This project would contain code that can be specific to each developer's repository, and absorbed at runtime as needed by each specific developer, without the need to add/remove projects from the solution file nor maintain a second solution. Any further changes made by any developer to these files should not be committed.
.gitignore:
*
The above gitignore inside the project folder prevents any new additions from being added to the repository, however the references in the project file are still created and updated.
If the tracked sln file didn't need to reference the specific csproj, this wouldn't be an issue. I just wouldn't track the csproj in the first place.
My understanding of the solutions suggested in other questions (below) is that they are local, and the steps would need to be reproduced in each developer's repository, and again for every following repository instance. What is the best solution to achieve this across all pulled repositories if at all possible with git?
Similar Questions: