20 references to PropertyNames
Microsoft.DotNet.HotReload.Watch (20)
AppModels\WebApplicationAppModel.cs (1)
43
var targetFramework = clientProject.GetTargetFrameworkVersion() ?? throw new InvalidOperationException($"Project doesn't define {
PropertyNames
.TargetFrameworkMoniker}");
Build\EvaluationResult.cs (8)
41
.SetItem(
PropertyNames
.DotNetWatchBuild, "true")
42
.SetItem(
PropertyNames
.DesignTimeBuild, "true")
43
.SetItem(
PropertyNames
.SkipCompilerExecution, "true")
44
.SetItem(
PropertyNames
.ProvideCommandLineArgs, "true")
99
if (projectInstance.GetPropertyValue(
PropertyNames
.TargetFramework) == "")
104
var customCollectWatchItems = projectInstance.GetStringListPropertyValue(
PropertyNames
.CustomCollectWatchItems);
130
projectInstance.GetBooleanPropertyValue(
PropertyNames
.UsingMicrosoftNETSdkRazor) &&
131
projectInstance.GetBooleanPropertyValue(
PropertyNames
.DotNetWatchContentFiles, defaultValue: true))
Build\ProjectGraphUtilities.cs (11)
16
=> projectNode.ProjectInstance.GetPropertyValue(
PropertyNames
.TargetFramework);
19
=> projectNode.GetStringListPropertyValue(
PropertyNames
.TargetFrameworks);
25
return new FrameworkName(projectNode.ProjectInstance.GetPropertyValue(
PropertyNames
.TargetFrameworkMoniker)).Version;
34
=> projectNode.GetStringListPropertyValue(
PropertyNames
.WebAssemblyHotReloadCapabilities);
43
=> IsNetCoreApp(projectNode.ProjectInstance.GetPropertyValue(
PropertyNames
.TargetFrameworkIdentifier));
52
=> projectNode.ProjectInstance.GetPropertyValue(
PropertyNames
.TargetPath) is { Length: >0 } path ? Path.GetDirectoryName(Path.Combine(projectNode.ProjectInstance.Directory, path)) : null;
55
=> projectNode.ProjectInstance.GetPropertyValue(
PropertyNames
.TargetName);
58
=> projectNode.ProjectInstance.GetPropertyValue(
PropertyNames
.IntermediateOutputPath) is { Length: >0 } path ? Path.Combine(projectNode.ProjectInstance.Directory, path) : null;
64
=> projectNode.GetBooleanPropertyValue(
PropertyNames
.HotReloadAutoRestart);
67
=> projectNode.GetBooleanPropertyValue(
PropertyNames
.EnableDefaultItems);
70
=> projectNode.GetStringListPropertyValue(
PropertyNames
.DefaultItemExcludes);