Reputation: 21
The below generates when executing dotnet restore command
D:\NewDotNetApp2>dotnet new xunit Content generation time: 118.1211 ms The template "xUnit Test Project" created successfully.
D:\NewDotNetApp2>dotnet restore Restoring packages for D:\NewDotNetApp2\NewDotNetApp2.csproj... C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : Unable to load the service index for source https:// api.nuget.org/v3/index.json.\r [D:\NewDotNetApp2\NewDotNetApp2.csproj] C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : Response status code does not indicate success: 40 7 (Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )). [D:\NewDotNetApp2\NewDotNetApp2.csproj]
This just happening in XUnit Project all other projects like mvc,webapi etc are working file.
Please suggest what to do.
Upvotes: 1
Views: 450
Reputation: 21
The Problem is resolved after installing Microsoft Firewall Client for ISA Server
Thanks Matin :)
Upvotes: 1