![](/img/trans.png)
[英]Getting NullReferenceException on IIS Express while running from Visual Studio 2019
[英]Getting the Fatal Error while cloning the Project from the TFS through Visual Studio 2019
更新
請仔細檢查您的 url。 確保您使用的是本地 TFS/Azure DevOps url 而不是雲 Azure DevOps 服務。
您的 url 看起來有點連線:
http://xxx.azure.com:8080/tfs/DefaulCollection
您的服務器名稱是xxx.azure.com
嗎?
git clone http://servername:8080/tfs/DefaultCollection/project/_git/reponame
git clone https://patricklu@dev.azure.com/patricklu/project/_git/reponame
根據您的描述和屏幕截圖,當您在 Visual Studio 2019 中單擊“克隆此存儲庫”按鈕時,您似乎遇到了錯誤。
建議您首先檢查您是否能夠直接訪問 web 門戶中的 git 存儲庫。
要縮小問題范圍,您可以使用git 命令行來克隆 repo而不是 Visual Studio。
git clone https://dev.azure.com/fabrikam/DefaultCollection/_git/Fabrikam
然后檢查您的網絡設置,如果有代理,請先嘗試在沒有代理的情況下進行測試。
您可以清除 TFS 和 VS cache ,這可能會奏效。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.