1 write to _context
dotnet-watch (1)
Watch\BuildEvaluator.cs (1)
34
_context
= context;
20 references to _context
dotnet-watch (20)
Watch\BuildEvaluator.cs (20)
40
_context
.RootProjectOptions.ProjectPath,
41
_context
.RootProjectOptions.BuildArguments,
42
_context
.ProcessRunner,
43
new BuildReporter(
_context
.BuildLogger,
_context
.Options,
_context
.EnvironmentOptions));
47
if (!
_context
.EnvironmentOptions.SuppressMSBuildIncrementalism &&
49
CommandLineOptions.IsCodeExecutionCommand(
_context
.RootProjectOptions.Command))
53
_context
.Logger.LogDebug("Cannot use --no-restore since msbuild project files have changed.");
57
_context
.Logger.LogDebug("Modifying command to use --no-restore");
58
return [
_context
.RootProjectOptions.Command, "--no-restore", ..
_context
.RootProjectOptions.CommandArguments];
62
return [
_context
.RootProjectOptions.Command, ..
_context
.RootProjectOptions.CommandArguments];
67
if (
_context
.EnvironmentOptions.SuppressMSBuildIncrementalism)
80
_context
.Logger.LogDebug("Evaluating dotnet-watch file set.");
105
_context
.Logger,
106
_context
.EnvironmentOptions,
107
startedWatching: () =>
_context
.Logger.Log(MessageDescriptor.FixBuildError),
131
_context
.Logger.LogDebug("Re-evaluation needed due to changes in '{Path}'.", file);