Visual Studio 2015 new files not being added to source control automatically

后端 未结 4 1424
礼貌的吻别
礼貌的吻别 2020-12-13 18:52

I have just upgraded to VS2015 and I am experiencing an issue I have not seen before. Using an existing solution under source control, I am able to modify files and they get

4条回答
  •  天涯浪人
    2020-12-13 19:09

    Add a .tfignore file to the release folder containing the extensions you want it to not ignore:

    !*.vb
    

    I tried adding this to the .tfignore that existed in my solution folder and it didn't help. It only worked when I added one to the parent release folder.

    ..\Release
    ..\Release\.tfignore <-- this one
    ..\Release\SolutionA\
    ..\Release\SolutionA\.tfignore
    

    msdn thread on the subject

提交回复
热议问题