We just started to use github in school, and my team's issue is that when I do a pull the new files(classes, etc) are not shown in Visual studio only if I press the show all files button in Solution Explorer, but then I have to include every file manually into the project. Is there a way to make it automatic? Because it should do it automatically.
The problem is that when your teammate commited the files, they weren't added to the project (no entry in the .csproj-file).
The .csproj-file is an XML-file which indicates which files are in the project. If he didn't commit the changes to this file, you'll not see them in your project.
Before he commits the changes, he needs to:
Then he needs to make sure that he commits all files, as well as the .csproj.
If you pull then, it will pull down the newly added files, and the updated project-file
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