从客户项目与 TFS 通信
Communication with TFS from client project
我有托管在 tfs 上的客户项目 (angular)。
在 Visual Studio window 的解决方案资源管理器中,我没有看到任何显示与 tfs 连接的指示。
有没有办法在这样的项目中看到 tfs 的指示?
对于不同的源代码控制,有不同的指示。
如果您正在使用 TFVC。在您的项目前面,应该有一个锁图标,表明该项目文件已经在 TFS 服务器中。
如果您正在使用 Git。您可以在状态栏中找到此信息。
2
shows the number of unpublished commits in your local branch. Selecting this opens the Synchronization view in Team Explorer.
3
shows the number of uncommitted file changes. Selecting this opens the Changes view in Team Explorer.
FabrikamFiberWeb
shows the current Git repo. Selecting this opens the Connect view in Team Explorer.
master
shows your current Git branch. Selecting this displays a branch picker to quickly switch between Git branches or create new
branches.
注:
如果您没有看到任何图标,例如 2 或 3,请确保您打开的项目是 Git 存储库的一部分。如果您的项目是全新的或尚未添加到存储库中,您可以通过在状态栏上选择 或在解决方案资源管理器中右键单击您的解决方案并选择 添加来将其添加到存储库中源代码管理解决方案.
更多关于如何使用Visual Studio和Azure DevOps Git Repo的详细信息请参考官方教程--Share your code with Visual Studio 2017 and Azure Repos Git.
解决方案是将项目文件夹添加到新的项目模板:Blank Azure Node.js Web Application。
我有托管在 tfs 上的客户项目 (angular)。 在 Visual Studio window 的解决方案资源管理器中,我没有看到任何显示与 tfs 连接的指示。
有没有办法在这样的项目中看到 tfs 的指示?
对于不同的源代码控制,有不同的指示。
如果您正在使用 TFVC。在您的项目前面,应该有一个锁图标,表明该项目文件已经在 TFS 服务器中。
如果您正在使用 Git。您可以在状态栏中找到此信息。
2
shows the number of unpublished commits in your local branch. Selecting this opens the Synchronization view in Team Explorer.3
shows the number of uncommitted file changes. Selecting this opens the Changes view in Team Explorer.FabrikamFiberWeb
shows the current Git repo. Selecting this opens the Connect view in Team Explorer.master
shows your current Git branch. Selecting this displays a branch picker to quickly switch between Git branches or create new
branches.
注:
如果您没有看到任何图标,例如 2 或 3,请确保您打开的项目是 Git 存储库的一部分。如果您的项目是全新的或尚未添加到存储库中,您可以通过在状态栏上选择
更多关于如何使用Visual Studio和Azure DevOps Git Repo的详细信息请参考官方教程--Share your code with Visual Studio 2017 and Azure Repos Git.
解决方案是将项目文件夹添加到新的项目模板:Blank Azure Node.js Web Application。