void ReadProject(string frameworkMoniker = ".NETCoreApp,Version=v1.0") { var moniker = TargetFrameworkMoniker.Parse(frameworkMoniker); project.ReadProjectHeader(msbuildProject); project.ReadProject(msbuildProject, moniker); }
internal protected override void OnReadProject(ProgressMonitor monitor, MSBuildProject msproject) { msbuildSdkProject.AddKnownItemAttributes(Project.MSBuildProject); base.OnReadProject(monitor, msproject); msbuildSdkProject.ReadProject(msproject, Project.TargetFramework.Id); if (!msbuildSdkProject.IsOutputTypeDefined) { Project.CompileTarget = msbuildSdkProject.DefaultCompileTarget; } Project.UseAdvancedGlobSupport = true; Project.UseDefaultMetadataForExcludedExpandedItems = true; Project.UseFileWatcher = true; }