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