Relative Content

Tag Archive for unit-testingnugetmstestcode-analysis

Visual Studio settings messing with CSharpAnalyzerTest

I am writing a CSharpAnalyzerTest. The test method is failing because it wants to connect to a private repository that is defined on machine-level as a nuget source. It obviously fails, and throws an exception from RunAsync() with the message: NuGet.Protocol.Core.Types.FatalProtocolException: Unable to load the service index for source…..

Visual Studio settings messing with CSharpAnalyzerTest

I am writing a CSharpAnalyzerTest. The test method is failing because it wants to connect to a private repository that is defined on machine-level as a nuget source. It obviously fails, and throws an exception from RunAsync() with the message: NuGet.Protocol.Core.Types.FatalProtocolException: Unable to load the service index for source…..