1 write to EnvironmentOptions
dotnet-watch (1)
Program.cs (1)
318EnvironmentOptions = environmentOptions,
26 references to EnvironmentOptions
dotnet-watch (9)
Watch\BuildEvaluator.cs (4)
55_context.EnvironmentOptions); 61if (!_context.EnvironmentOptions.SuppressMSBuildIncrementalism && 105if (_context.EnvironmentOptions.SuppressMSBuildIncrementalism) 144_context.EnvironmentOptions,
Watch\DotNetWatcher.cs (5)
19if (context.EnvironmentOptions.SuppressMSBuildIncrementalism) 53Executable = context.EnvironmentOptions.GetMuxerPath(), 54WorkingDirectory = context.EnvironmentOptions.WorkingDirectory, 77processSpec.RedirectOutput(outputObserver, context.ProcessOutputReporter, context.EnvironmentOptions, projectRootNode?.GetDisplayName() ?? ""); 94using var fileSetWatcher = new FileWatcher(context.Logger, context.EnvironmentOptions);
Microsoft.DotNet.HotReload.Watch (17)
AppModels\MobileAppModel.cs (1)
23context.EnvironmentOptions.AgentWebSocketConfig,
AppModels\WebApplicationAppModel.cs (5)
44return new WebAssemblyHotReloadClient(clientLogger, agentLogger, browserRefreshServer, capabilities, targetFramework, context.EnvironmentOptions.TestFlags.HasFlag(TestFlags.MockBrowser)); 60dotnetPath: context.EnvironmentOptions.GetMuxerPath(), 61webSocketConfig: context.EnvironmentOptions.BrowserWebSocketConfig, 62suppressTimeouts: context.EnvironmentOptions.TestFlags != TestFlags.None); 70if (context.EnvironmentOptions.SuppressBrowserRefresh)
HotReload\HotReloadDotNetWatcher.cs (9)
42var consoleInput = new ConsoleInputReader(_console, context.Options.LogLevel, context.EnvironmentOptions.SuppressEmojis); 44var noPrompt = context.EnvironmentOptions.RestartOnRudeEdit; 57context.EnvironmentOptions), 60context.EnvironmentOptions); 80using var fileWatcher = new FileWatcher(_context.Logger, _context.EnvironmentOptions); 945_context.EnvironmentOptions, 1266List<OutputLine>? capturedOutput = _context.EnvironmentOptions.TestFlags != TestFlags.None ? [] : null; 1269Executable = _context.EnvironmentOptions.GetMuxerPath(), 1315var workingDirectory = _context.EnvironmentOptions.WorkingDirectory;
Process\ProjectLauncher.cs (2)
27=> context.EnvironmentOptions; 88processSpec.RedirectOutput(outputObserver, context.ProcessOutputReporter, context.EnvironmentOptions, projectDisplayName);