ASP.net 5 wwwroot源代码控制(TFS)忽略编译的TS文件

Eli*_*der 9 tfs vs-2015-preview asp.net-core

我有我的grunt文件构建TS文件并将它们放入wwwroot文件夹.TFS/VS始终认为它们是新文件并将其添加到挂起的更改中.

我怎么做才是这样才不会发生.我只想在源代码管理中使用TS文件.

更新:我尝试过使用.tfignore文件

# Ignore all files in the wwwroot sub-folder
\wwwroot\
Run Code Online (Sandbox Code Playgroud)

Vic*_*aci 0

添加.tfignore文件。详细信息请参见:https://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore

  • 当您的解决方案中有旧网站时,.tfignore 将被忽略。 (2认同)