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