我在VS2017中打开了一个解决方案,并注意到下面的图像显示"扫描数据XX%"
有谁知道VS在这里做什么?对于9个项目的解决方案似乎需要很长时间,其中一个是.net core angular2应用程序.
跑步:
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
Run Code Online (Sandbox Code Playgroud)
生成以下错误:
C:\Program Files (x86)\dotnet\sdk\1.0.4\Nuget.targets(97,5): error : Unable to laod the service index for source https://MYNugetFeed.pkgs.visualstudio.com/_packaging/Project/nuget/v3/index.json. \r [C:\Users\me\.templateengine\dotnetcli\v1.0.4\scratch\restore.csproj]
C:\Program Files (x86)\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : Response status code does not indicate success: 401 (Unauthorized).
Run Code Online (Sandbox Code Playgroud)
所以我的问题是为什么要查看 NuGet 提要而不是标准(假设这些模板就在那里),以及如何更改 dotnet cli 的配置?我知道这在某种程度上与环境有关。