Beispiel #1
0
        static DotNetCoreSdk()
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.FindMSBuildSDKsPath();

            Update(sdkPaths);
        }
Beispiel #2
0
        static DotNetCoreSdk()
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.FindMSBuildSDKsPath();

            MSBuildSDKsPath = sdkPaths.MSBuildSDKsPath;
            IsInstalled     = !string.IsNullOrEmpty(MSBuildSDKsPath);
        }
        static DotNetCoreSdk()
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.FindMSBuildSDKsPath();

            MSBuildSDKsPath = sdkPaths.MSBuildSDKsPath;
            IsInstalled     = !string.IsNullOrEmpty(MSBuildSDKsPath);

            if (!IsInstalled)
            {
                LoggingService.LogInfo(".NET Core SDK not found.");
            }
        }
Beispiel #4
0
        static DotNetCoreSdk()
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.FindMSBuildSDKsPath();

            MSBuildSDKsPath = sdkPaths.MSBuildSDKsPath;
            IsInstalled     = !string.IsNullOrEmpty(MSBuildSDKsPath);
            Versions        = sdkPaths.SdkVersions;

            if (IsInstalled)
            {
                GetPreviewNetStandard20LibraryVersion();
            }

            if (!IsInstalled)
            {
                LoggingService.LogInfo(".NET Core SDK not found.");
            }
        }
Beispiel #5
0
        static DotNetCoreSdk()
        {
            var sdkPaths = new DotNetCoreSdkPaths();

            sdkPaths.FindMSBuildSDKsPath();

            MSBuildSDKsPath = sdkPaths.MSBuildSDKsPath;
            IsInstalled     = !string.IsNullOrEmpty(MSBuildSDKsPath);
            Versions        = sdkPaths.SdkVersions ?? new DotNetCoreVersion [0];

            if (!IsInstalled)
            {
                LoggingService.LogInfo(".NET Core SDK not found.");
            }

            if (IsInstalled)
            {
                SetFSharpShims();
            }
        }
        void ConfigureMSBuildSDKsPath()
        {
            var paths = new DotNetCoreSdkPaths();

            paths.FindMSBuildSDKsPath();
        }