protected override void OnItemReady()
        {
            base.OnItemReady();
            Project.Modified        += OnProjectModified;
            FileService.FileChanged += FileService_FileChanged;

            if (!IdeApp.IsInitialized)
            {
                return;
            }

            PackageManagementServices.ProjectTargetFrameworkMonitor.ProjectTargetFrameworkChanged += ProjectTargetFrameworkChanged;

            if (HasSdk && !IsDotNetCoreSdkInstalled())
            {
                ShowDotNetCoreNotInstalledDialog(sdkPaths.IsUnsupportedSdkVersion);
            }

            if (Project.ParentSolution == null)
            {
                return;
            }

            if (Project.ParentSolution.ExtendedProperties.Contains(GlobalJsonPathExtendedPropertyName))
            {
                return;
            }

            //detect globaljson
            var globalJsonPath = sdkPaths.LookUpGlobalJson(Project.ParentSolution.BaseDirectory);

            if (globalJsonPath == null)
            {
                return;
            }

            Project.ParentSolution.ExtendedProperties [GlobalJsonPathExtendedPropertyName] = globalJsonPath;
            DetectSDK();
        }
        protected override void OnItemReady()
        {
            base.OnItemReady();
            FileService.FileChanged += FileService_FileChanged;

            if (!IdeApp.IsInitialized)
            {
                return;
            }

            if (HasSdk && !IsDotNetCoreSdkInstalled())
            {
                var requiredVersion = DotNetCoreVersion.Parse(Project.TargetFramework.Id.Version);
                ShowDotNetCoreNotInstalledDialog(DotNetCoreSdk.GetNotSupportedVersionMessage(requiredVersion.OriginalString), requiredVersion);
            }

            if (Project.ParentSolution == null)
            {
                return;
            }

            if (Project.ParentSolution.ExtendedProperties.Contains(GlobalJsonPathExtendedPropertyName))
            {
                return;
            }

            //detect globaljson
            var globalJsonPath = sdkPaths.LookUpGlobalJson(Project.ParentSolution.BaseDirectory);

            if (globalJsonPath == null)
            {
                return;
            }

            Project.ParentSolution.ExtendedProperties [GlobalJsonPathExtendedPropertyName] = globalJsonPath;
            DetectSDK();
        }