13 references to GetEnvironmentOptions
dotnet-watch.Tests (13)
Build\EvaluationTests.cs (3)
429var options = TestOptions.GetEnvironmentOptions(workingDirectory: testDirectory, muxerPath: MuxerPath); 489var options = TestOptions.GetEnvironmentOptions(workingDirectory: Path.GetDirectoryName(project1Path)!, muxerPath: MuxerPath); 527var options = TestOptions.GetEnvironmentOptions(workingDirectory: testDir, muxerPath: MuxerPath) with { TestOutput = testDir };
CommandLine\EnvironmentOptionsTests.cs (1)
14var envOptions = TestOptions.GetEnvironmentOptions(workingDirectory);
CommandLine\ProgramTests.cs (1)
26TestOptions.GetEnvironmentOptions(workingDirectory: testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset),
FileWatcher\FileWatcherTests.cs (1)
75: FileWatcher(logger, TestOptions.GetEnvironmentOptions())
HotReload\CompilationHandlerTests.cs (1)
20var environmentOptions = TestOptions.GetEnvironmentOptions(Environment.CurrentDirectory, "dotnet");
HotReload\RuntimeProcessLauncherTests.cs (1)
99var environmentOptions = TestOptions.GetEnvironmentOptions(workingDirectory ?? testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset);
TestUtilities\MockFileSetFactory.cs (1)
12new BuildReporter(NullLogger.Instance, new GlobalOptions(), TestOptions.GetEnvironmentOptions(Environment.CurrentDirectory, "dotnet") is var options ? options : options))
Watch\BuildEvaluatorTests.cs (1)
14var environmentOptions = TestOptions.GetEnvironmentOptions() with
Watch\NoRestoreTests.cs (3)
14environmentOptions ??= TestOptions.GetEnvironmentOptions(); 56var context = CreateContext([], TestOptions.GetEnvironmentOptions() with { SuppressMSBuildIncrementalism = true }); 66var context = CreateContext(["--no-restore"], TestOptions.GetEnvironmentOptions() with { SuppressMSBuildIncrementalism = true });