44 references to ProjectRootPath
Microsoft.NET.Build.Tests (32)
GivenThatWeWantToBuildACrossTargetedLibrary.cs (2)
27var outputDirectory = new DirectoryInfo(Path.Combine(buildCommand.ProjectRootPath, "bin", "Debug")); 55var outputDirectory = new DirectoryInfo(Path.Combine(buildCommand.ProjectRootPath, "bin", "Debug"));
GivenThatWeWantToBuildANetCoreApp.cs (3)
96LockFile lockFile = LockFileUtilities.GetLockFile(Path.Combine(buildCommand.ProjectRootPath, "obj", "project.assets.json"), NullLogger.Instance); 176LockFile lockFile = LockFileUtilities.GetLockFile(Path.Combine(buildCommand.ProjectRootPath, "obj", "project.assets.json"), NullLogger.Instance); 643string outputFolderWithConfiguration = Path.Combine(buildCommand.ProjectRootPath, "bin", "Debug");
GivenThatWeWantToGenerateADepsFileForATool.cs (1)
112string nupkgPath = Path.Combine(packCommand.ProjectRootPath, "bin", "Debug");
GivenThereAreDefaultItems.cs (26)
25WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, folder, "source.cs"), 29WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 32WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Packages", "Package.cs"), 58WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Output", "CSharpInOutput.cs"), 61WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 97WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, folder, "source.cs"), 101WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 141string sharedCodePath = Path.Combine(Path.GetDirectoryName(getValuesCommand.ProjectRootPath), "Shared"); 145WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 179WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 181WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Excluded", "Excluded.cs"), 214WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 216WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "obj", "Class2.cs"), 218WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "obj", "Excluded.cs"), 252WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 254WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "CSharpAsResource.cs"), 300WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "Code", "Class1.cs"), 302WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "CSharpAsContent.cs"), 305WriteFile(Path.Combine(getValuesCommand.ProjectRootPath, "None.txt"), "Content file"); 464WriteFile(Path.Combine(buildCommand.ProjectRootPath, "ProjectRoot.txt"), "ProjectRoot"); 465WriteFile(Path.Combine(buildCommand.ProjectRootPath, "Subfolder", "ProjectSubfolder.txt"), "ProjectSubfolder"); 466WriteFile(Path.Combine(buildCommand.ProjectRootPath, "wwwroot", "wwwroot.txt"), "wwwroot"); 467WriteFile(Path.Combine(buildCommand.ProjectRootPath, "wwwroot", "wwwsubfolder", "wwwsubfolder.txt"), "wwwsubfolder"); 504WriteFile(Path.Combine(buildCommand.ProjectRootPath, "ShouldNotBeCompiled.cs"), 531WriteFile(Path.Combine(buildCommand.ProjectRootPath, "Class1.cs"), "public class Class1 {}"); 686LockFile lockFile = LockFileUtilities.GetLockFile(Path.Combine(buildCommand.ProjectRootPath, "obj", "project.assets.json"), NullLogger.Instance);
Microsoft.NET.Publish.Tests (2)
GivenThatWeWantToPublishAProjectWithAllFeatures.cs (2)
145var buildCommand = new BuildCommand(Log, publishCommand.ProjectRootPath); 184Path.Combine(command.ProjectRootPath, ".."), // up one level from TestApp to also get TestLibrary P2P files
Microsoft.NET.Restore.Tests (1)
GivenThatWeWantToRestoreDotNetCliToolReference.cs (1)
37string nupkgPath = Path.Combine(packCommand.ProjectRootPath, "bin", "Debug");
Microsoft.NET.Sdk.Razor.Tests (1)
ApplicationPartDiscoveryIntegrationTest.cs (1)
69File.AppendAllText(Path.Combine(build.ProjectRootPath, "Program.cs"), " ");
Microsoft.NET.TestFramework (8)
Commands\ComposeStoreCommand.cs (1)
24string output = Path.Combine(ProjectRootPath, "bin", BuildRelativeOutputPath(targetFramework, configuration, runtimeIdentifier, platformIdentifier));
Commands\GetValuesCommand.cs (1)
195string output = Path.Combine(ProjectRootPath, "bin", configuration, targetFramework);
Commands\MSBuildCommand.cs (6)
21public string FullPathProjectFile => Path.Combine(ProjectRootPath, ProjectFile); 85string output = Path.Combine(ProjectRootPath, "bin", platform, configuration, targetFramework, runtimeIdentifier); 100string output = Path.Combine(ProjectRootPath, "obj", configuration, targetFramework, runtimeIdentifier); 111string output = Path.Combine(ProjectRootPath, "bin", configuration); 119string output = Path.Combine(ProjectRootPath, "bin", configuration); 125string output = Path.Combine(ProjectRootPath, "obj");