internal static DotNetCoreSdkPaths FindSdkPaths(string[] sdks) { var sdkPaths = new DotNetCoreSdkPaths(); sdkPaths.ResolveSDK(); sdkPaths.FindSdkPaths(sdks); return(sdkPaths); }
internal static DotNetCoreSdkPaths FindSdkPaths(string sdk) { var sdkPaths = new DotNetCoreSdkPaths(); sdkPaths.MSBuildSDKsPath = MSBuildSDKsPath; sdkPaths.FindSdkPaths(sdk); return(sdkPaths); }
protected override void OnPrepareForEvaluation(MSBuildProject project) { base.OnPrepareForEvaluation(project); if (!HasSdk) { return; } sdkPaths = new DotNetCoreSdkPaths(); sdkPaths.FindSdkPaths(dotNetCoreMSBuildProject.Sdk); if (!sdkPaths.Exist) { return; } dotNetCoreMSBuildProject.ReadDefaultCompileTarget(project); }
internal static DotNetCoreSdkPaths FindSdkPaths(string sdk) { sdkPaths.FindSdkPaths(sdk); return(sdkPaths); }