1 write to Path
Msbuild.Tests.Utilities (1)
ProjDir.cs (1)
13Path = path;
23 references to Path
dotnet.Tests (21)
CommandTests\Reference\Add\GivenDotnetAddReference.cs (12)
72new DotnetNewCommand(Log, "classlib", "-o", projDir.Path, "--no-restore") 74.WithWorkingDirectory(projDir.Path) 80throw new Exception($"Intermittent error in `dotnet new` occurred when running it in dir `{projDir.Path}`\nException:\n{e}"); 266.WithWorkingDirectory(lib.Path) 354.WithWorkingDirectory(lib.Path) 372.WithWorkingDirectory(proj.Path) 407.WithWorkingDirectory(proj.Path) 422.WithWorkingDirectory(proj.Path) 454.WithWorkingDirectory(proj.Path) 545.WithWorkingDirectory(lib.Path) 562.WithWorkingDirectory(lib.Path) 592.WithWorkingDirectory(lib.Path)
CommandTests\Reference\List\GivenDotnetListReference.cs (5)
219{lib.Path}..\ref1\ref1.csproj"; 243Directory.CreateDirectory(dir.Path); 247new DotnetNewCommand(Log, "classlib", "-o", dir.Path, "--no-restore") 249.WithWorkingDirectory(dir.Path) 255throw new Exception($"Intermittent error in `dotnet new` occurred when running it in dir `{dir.Path}`\nException:\n{e}");
CommandTests\Reference\Remove\GivenDotnetRemoveP2P.cs (4)
72string[] newArgs = new[] { "classlib", "-o", projDir.Path, "--no-restore" }; 75.WithWorkingDirectory(projDir.Path) 81throw new Exception($"Intermittent error in `dotnet new` occurred when running it in dir `{projDir.Path}`\nException:\n{e}"); 440.WithWorkingDirectory(lib.Path)
Msbuild.Tests.Utilities (2)
ProjDir.cs (2)
14Name = new DirectoryInfo(Path).Name; 20public string CsProjPath => System.IO.Path.Combine(Path, CsProjName);