Thanks for reaching out!
Here are some steps to fix the issue
- Check Your .gitignore File: Make sure you don't have patterns in your
.gitignorefile that are matching the new files you are trying to add. You can find this file in your project's root directory. If it's not there, maybe create one to customize which files should be ignored - Create or Modify the .tfignore File: If you are using Team Foundation Version Control (TFVC), you can also utilize a
.tfignorefile. This file works similarly to.gitignore. Place it in your project directory to specify which files should be ignored by source control. - Check Local Workspace Settings: In some cases, certain file types might be automatically excluded based on your workspace settings. Review the settings to ensure your new files' types are not inadvertently excluded.
- Visual Studio Integration: If it's a specific file type that you want to work with and you've previously ignored it, you can right-click on the file in the Git Changes window and select Ignore this local item to update your
.gitignorefile accordingly. This will help in managing ignored files more effectively. - Keep It Updated: Ensure your installed packages and updates to Visual Studio are current. Bugs are often fixed in newer updates that may address your issue.