コード例 #1
0
ファイル: DotNetCoreSdk.cs プロジェクト: zhj149/monodevelop
        internal static DotNetCoreSdkPaths FindSdkPaths(string[] sdks)
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.ResolveSDK();
            sdkPaths.FindSdkPaths(sdks);
            return(sdkPaths);
        }
コード例 #2
0
        internal static DotNetCoreSdkPaths FindSdkPaths(string sdk)
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.MSBuildSDKsPath = MSBuildSDKsPath;
            sdkPaths.FindSdkPaths(sdk);

            return(sdkPaths);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
 internal static DotNetCoreSdkPaths FindSdkPaths(string sdk)
 {
     sdkPaths.FindSdkPaths(sdk);
     return(sdkPaths);
 }