3 instantiations of SdkResolverException
Microsoft.Build (3)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
27new(typeof(SdkResolverException), (msg, inner) => new SdkResolverException(msg, inner)),
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
339throw new SdkResolverException("CouldNotRunNuGetSdkResolver", sdkResolver, sdk, e, MSBuildConstants.NuGetAssemblyPathEnvironmentVariableName, e.ToString()); 344throw new SdkResolverException("SDKResolverFailed", sdkResolver, sdk, e, sdkResolver.Name, sdk.ToString(), e.ToString());
4 references to SdkResolverException
Microsoft.Build (2)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
27new(typeof(SdkResolverException), (msg, inner) => new SdkResolverException(msg, inner)),
Evaluation\Evaluator.cs (1)
1794catch (SdkResolverException e)
Microsoft.Build.Engine.UnitTests (2)
BackEnd\SdkResolverService_Tests.cs (2)
115SdkResolverException e = Should.Throw<SdkResolverException>(() => service.ResolveSdk(BuildEventContext.InvalidSubmissionId, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));