32 references to MSBuildCommand
dotnet.Tests (2)
CommandTests\MSBuild\GivenDotnetMSBuildBuildsProjects.cs (2)
26new MSBuildCommand(Log, "SayHello", testProjectDirectory) 33new MSBuildCommand(Log, "SayGoodbye", testProjectDirectory)
Microsoft.NET.Build.Tests (13)
DesignTimeBuildTests.cs (2)
46var command = new MSBuildCommand(Log, "ResolveAssemblyReferencesDesignTime", projectDirectory) 221var buildCommand = new MSBuildCommand(Log, null, projectFolder)
GivenThatWeWantToBuildADesktopLibrary.cs (1)
488var msbuildBuildCommand = new MSBuildCommand(Log, "Build", buildCommand.FullPathProjectFile);
GivenThatWeWantToBuildAnAppWithLibrary.cs (1)
154var cleanCommand = new MSBuildCommand(Log, "Clean", buildCommand.FullPathProjectFile);
GivenThatWeWantToBuildAnAppWithSharedProject.cs (1)
19var command = new MSBuildCommand(Log, "WriteItems", testAsset.TestRoot, "TestApp");
GivenThatWeWantToBuildAnAppWithTransitiveProjectRefs.cs (1)
86var cleanCommand = new MSBuildCommand(Log, "Clean", buildCommand.FullPathProjectFile);
GivenThatWeWantToBuildAppsWithFrameworkRefs.cs (1)
95var cleanCommand = new MSBuildCommand(Log, "Clean", buildCommand.FullPathProjectFile);
GivenThatWeWantToCollectExceptionTelemetry.cs (1)
28var mSBuildCommand = new MSBuildCommand(Log, "GenerateToolsSettingsFileFromBuildProperty", Path.Combine(testAsset.TestRoot));
GivenThatWeWantToGenerateADepsFileForATool.cs (1)
189var generateDepsCommand = new MSBuildCommand(Log, "BuildDepsJson", generateDepsProjectDirectoryPath, generateDepsProjectFileName);
GivenThatWeWantToIncludeItemsOutsideTheProjectFolder.cs (1)
33var command = new MSBuildCommand(Log, "WriteItems", testAsset.TestRoot, "LinkTest");
GivenThatWeWantToResolveRuntimePackAssets.cs (2)
33var command = new MSBuildCommand( 75var command = new MSBuildCommand(
GivenThatWeWantToRunFromMSBuildTarget.cs (1)
30var runTargetCommand = new MSBuildCommand(Log, "run", Path.Combine(testAsset.TestRoot, testProject.Name));
Microsoft.NET.Clean.Tests (1)
GivenThatWeWantToCleanAProject.cs (1)
72var cleanAndBuildCommand = new MSBuildCommand(Log, "Clean;Build", testAsset.TestRoot);
Microsoft.NET.Sdk.Razor.Tests (6)
BuildIntrospectionTest.cs (2)
102var build = new MSBuildCommand(Log, "_IntrospectWatchItems", projectDirectory.Path); 118var build = new MSBuildCommand(Log, "_IntrospectRazorGenerateComponentDesignTime", projectDirectory.Path);
DesignTimeBuildIntegrationTest.cs (3)
20var command = new MSBuildCommand(Log, "Compile", projectDirectory.Path); 42var command = new MSBuildCommand(Log, "RazorGenerateDesignTime;_IntrospectRazorGenerateWithTargetPath", projectDirectory.Path); 73var command = new MSBuildCommand(Log, "RazorGenerateComponentDesignTime;_IntrospectRazorComponentWithTargetPath", projectDirectory.Path);
MvcBuildIntegrationTest50.cs (1)
69var clean = new MSBuildCommand(Log, "Clean", build.FullPathProjectFile);
Microsoft.NET.Sdk.StaticWebAssets.Tests (1)
StaticWebAssetsDesignTimeTest.cs (1)
128return (MSBuildCommand)new MSBuildCommand(testAsset.Log, targets, testAsset.TestRoot, relativeProjectPath)
Microsoft.NET.TestFramework (9)
Commands\BuildCommand.cs (1)
13: base(log, "Build", projectRootPath, relativePathToProject)
Commands\CleanCommand.cs (1)
9: base(log, "Clean", projectPath, relativePathToProject)
Commands\ComposeStoreCommand.cs (1)
18: base(log, "ComposeStore", projectPath, relativePathToProject)
Commands\GetValuesCommand.cs (1)
36: base(log, "WriteValuesToFile", projectPath, relativePathToProject: null)
Commands\MSBuildCommand.cs (1)
35: this(testAsset.Log, target, testAsset.TestRoot, relativePathToProject ?? testAsset.TestProject?.Name, requiredArgs)
Commands\PackCommand.cs (1)
9: base(log, "Pack", projectPath, relativePathToProject, requiredArgs: "/p:_IsPacking=true")
Commands\PublishCommand.cs (1)
15: base(log, "Publish", projectPath, relativePathToProject: null, requiredArgs: "/p:_IsPublishing=true")
Commands\RebuildCommand.cs (1)
9: base(log, "Rebuild", projectPath, relativePathToProject)
Commands\RestoreCommand.cs (1)
13: base(log, "Restore", projectPath, relativePathToProject)