无法将新添加的.cs文件从asp.net mvc项目推送到TFS服务器。 [英] unable to push new added .cs file to TFS server from the asp.net mvc project.

查看:58
本文介绍了无法将新添加的.cs文件从asp.net mvc项目推送到TFS服务器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在线使用visual studio 2015 TFS,在这里使用Mvc项目,尝试添加新的控制器意味着.cs文件。  gitignore
 不忽略.cs文件。
 当我尝试添加新的.cs(Controller)文件时并且进行更改,它没有显示。所以我是
无法提交这个并且无法推送代码。    

解决方案

我使用tfs作为源代码控制。当我在现有的.cs文件中进行更改时,它工作正常,我能够提交和同步更改。但是,当我尝试添加新文件并进行更改时,它没有显示。所以我无法提交
这个并且无法推送代码。    

I am using visual studio 2015 with online TFS , and here using the Mvc project, trying to add new controller means .cs file. gitignore  is not ignoring .cs files. when i am trying to add new  .cs (Controller) file and going in changes,  it is not showing. so i am unable to commit this and unable to push the code.    

解决方案

hi, i am using tfs as source control. when i am  making changes in existing .cs files it's working fine, i am able to commit and sync changes. But when i am trying to add new file and going in changes,  it is not showing. so i am unable to commit this and unable to push the code.    


这篇关于无法将新添加的.cs文件从asp.net mvc项目推送到TFS服务器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆