51 references to ReadPropertyString
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (51)
MSBuild\CSharp\CSharpCommandLineArgumentReader.cs (14)
36AddIfNotNullOrWhiteSpace("appconfig", Project.ReadPropertyString(PropertyNames.AppConfigForCompiler)); 37AddIfNotNullOrWhiteSpace("baseaddress", Project.ReadPropertyString(PropertyNames.BaseAddress)); 39AddIfNotNullOrWhiteSpace("define", Project.ReadPropertyString(PropertyNames.DefineConstants)); 40AddIfNotNullOrWhiteSpace("filealign", Project.ReadPropertyString(PropertyNames.FileAlignment)); 44AddIfNotNullOrWhiteSpace("langversion", Project.ReadPropertyString(PropertyNames.LangVersion)); 45AddIfNotNullOrWhiteSpace("main", Project.ReadPropertyString(PropertyNames.StartupObject)); 46AddIfNotNullOrWhiteSpace("moduleassemblyname", Project.ReadPropertyString(PropertyNames.ModuleAssemblyName)); 48AddIfNotNullOrWhiteSpace("nowarn", Project.ReadPropertyString(PropertyNames.NoWarn)); 51AddIfNotNullOrWhiteSpace("pdb", Project.ReadPropertyString(PropertyNames.PdbFile)); 52AddIfNotNullOrWhiteSpace("ruleset", Project.ReadPropertyString(PropertyNames.ResolvedCodeAnalysisRuleSet)); 53AddIfNotNullOrWhiteSpace("subsystemversion", Project.ReadPropertyString(PropertyNames.SubsystemVersion)); 54AddIfNotNullOrWhiteSpace("target", Project.ReadPropertyString(PropertyNames.OutputType)); 58AddIfNotNullOrWhiteSpace("warnaserror+", Project.ReadPropertyString(PropertyNames.WarningsAsErrors)); 59AddIfNotNullOrWhiteSpace("warnaserror-", Project.ReadPropertyString(PropertyNames.WarningsNotAsErrors));
MSBuild\ProjectFile\CommandLineArgumentReader.cs (7)
171var debugType = Project.ReadPropertyString(PropertyNames.DebugType); 181var delaySign = Project.ReadPropertyString(PropertyNames.DelaySign); 190var errorReport = Project.ReadPropertyString(PropertyNames.ErrorReport); 199var features = Project.ReadPropertyString(PropertyNames.Features); 228var platform = Project.ReadPropertyString(PropertyNames.PlatformTarget); 279var keyFile = Project.ReadPropertyString(PropertyNames.KeyOriginatorFile); 285var keyContainer = Project.ReadPropertyString(PropertyNames.KeyContainerName);
MSBuild\ProjectFile\Extensions.cs (4)
79=> Conversions.ToBool(executedProject.ReadPropertyString(propertyName)); 82=> Conversions.ToInt(executedProject.ReadPropertyString(propertyName)); 85=> Conversions.ToULong(executedProject.ReadPropertyString(propertyName)); 89=> Conversions.ToEnum<TEnum>(executedProject.ReadPropertyString(propertyName), ignoreCase);
MSBuild\ProjectFile\ProjectFile.cs (8)
122var outputFilePath = project.ReadPropertyString(PropertyNames.TargetPath); 128var outputRefFilePath = project.ReadPropertyString(PropertyNames.TargetRefPath); 134var generatedFilesOutputDirectory = project.ReadPropertyString(PropertyNames.CompilerGeneratedFilesOutputPath); 145var projectAssetsFilePath = project.ReadPropertyString(PropertyNames.ProjectAssetsFile); 152var defaultNamespace = project.ReadPropertyString(PropertyNames.RootNamespace) ?? string.Empty; 154var targetFramework = project.ReadPropertyString(PropertyNames.TargetFramework); 160var targetFrameworkIdentifier = project.ReadPropertyString(PropertyNames.TargetFrameworkIdentifier); 162var targetFrameworkVersion = project.ReadPropertyString(PropertyNames.TargetFrameworkVersion);
MSBuild\VisualBasic\VisualBasicCommandLineArgumentReader.cs (18)
41AddIfNotNullOrWhiteSpace("baseaddress", Project.ReadPropertyString(PropertyNames.BaseAddress)); 42AddIfNotNullOrWhiteSpace("define", Project.ReadPropertyString(PropertyNames.FinalDefineConstants)); 43AddIfNotNullOrWhiteSpace("filealign", Project.ReadPropertyString(PropertyNames.FileAlignment)); 45AddIfNotNullOrWhiteSpace("langversion", Project.ReadPropertyString(PropertyNames.LangVersion)); 46AddIfNotNullOrWhiteSpace("main", Project.ReadPropertyString(PropertyNames.StartupObject)); 47AddIfNotNullOrWhiteSpace("moduleassemblyname", Project.ReadPropertyString(PropertyNames.ModuleAssemblyName)); 50AddIfNotNullOrWhiteSpace("nowarn", Project.ReadPropertyString(PropertyNames.NoWarn)); 55AddIfNotNullOrWhiteSpace("rootnamespace", Project.ReadPropertyString(PropertyNames.RootNamespace)); 56AddIfNotNullOrWhiteSpace("ruleset", Project.ReadPropertyString(PropertyNames.ResolvedCodeAnalysisRuleSet)); 57AddIfNotNullOrWhiteSpace("sdkpath", Project.ReadPropertyString(PropertyNames.FrameworkPathOverride)); 58AddIfNotNullOrWhiteSpace("subsystemversion", Project.ReadPropertyString(PropertyNames.SubsystemVersion)); 59AddIfNotNullOrWhiteSpace("target", Project.ReadPropertyString(PropertyNames.OutputType)); 61AddIfNotNullOrWhiteSpace("warnaserror+", Project.ReadPropertyString(PropertyNames.WarningsAsErrors)); 62AddIfNotNullOrWhiteSpace("warnaserror-", Project.ReadPropertyString(PropertyNames.WarningsNotAsErrors)); 67var documentationFile = Project.ReadPropertyString(PropertyNames.DocFileItem); 87var optionCompare = Project.ReadPropertyString(PropertyNames.OptionCompare); 102AddIfNotNullOrWhiteSpace("optionstrict", Project.ReadPropertyString(PropertyNames.OptionStrictType)); 107var vbRuntime = Project.ReadPropertyString(PropertyNames.VbRuntime);