32 references to MSBuildCommand
dotnet.Tests (2)
CommandTests\MSBuild\GivenDotnetMSBuildBuildsProjects.cs (2)
26
new
MSBuildCommand
(Log, "SayHello", testProjectDirectory)
33
new
MSBuildCommand
(Log, "SayGoodbye", testProjectDirectory)
Microsoft.NET.Build.Tests (13)
DesignTimeBuildTests.cs (2)
46
var command = new
MSBuildCommand
(Log, "ResolveAssemblyReferencesDesignTime", projectDirectory)
221
var buildCommand = new
MSBuildCommand
(Log, null, projectFolder)
GivenThatWeWantToBuildADesktopLibrary.cs (1)
488
var msbuildBuildCommand = new
MSBuildCommand
(Log, "Build", buildCommand.FullPathProjectFile);
GivenThatWeWantToBuildAnAppWithLibrary.cs (1)
154
var cleanCommand = new
MSBuildCommand
(Log, "Clean", buildCommand.FullPathProjectFile);
GivenThatWeWantToBuildAnAppWithSharedProject.cs (1)
19
var command = new
MSBuildCommand
(Log, "WriteItems", testAsset.TestRoot, "TestApp");
GivenThatWeWantToBuildAnAppWithTransitiveProjectRefs.cs (1)
86
var cleanCommand = new
MSBuildCommand
(Log, "Clean", buildCommand.FullPathProjectFile);
GivenThatWeWantToBuildAppsWithFrameworkRefs.cs (1)
95
var cleanCommand = new
MSBuildCommand
(Log, "Clean", buildCommand.FullPathProjectFile);
GivenThatWeWantToCollectExceptionTelemetry.cs (1)
28
var mSBuildCommand = new
MSBuildCommand
(Log, "GenerateToolsSettingsFileFromBuildProperty", Path.Combine(testAsset.TestRoot));
GivenThatWeWantToGenerateADepsFileForATool.cs (1)
189
var generateDepsCommand = new
MSBuildCommand
(Log, "BuildDepsJson", generateDepsProjectDirectoryPath, generateDepsProjectFileName);
GivenThatWeWantToIncludeItemsOutsideTheProjectFolder.cs (1)
33
var command = new
MSBuildCommand
(Log, "WriteItems", testAsset.TestRoot, "LinkTest");
GivenThatWeWantToResolveRuntimePackAssets.cs (2)
33
var command = new
MSBuildCommand
(
75
var command = new
MSBuildCommand
(
GivenThatWeWantToRunFromMSBuildTarget.cs (1)
30
var runTargetCommand = new
MSBuildCommand
(Log, "run", Path.Combine(testAsset.TestRoot, testProject.Name));
Microsoft.NET.Clean.Tests (1)
GivenThatWeWantToCleanAProject.cs (1)
72
var cleanAndBuildCommand = new
MSBuildCommand
(Log, "Clean;Build", testAsset.TestRoot);
Microsoft.NET.Sdk.Razor.Tests (6)
BuildIntrospectionTest.cs (2)
102
var build = new
MSBuildCommand
(Log, "_IntrospectWatchItems", projectDirectory.Path);
118
var build = new
MSBuildCommand
(Log, "_IntrospectRazorGenerateComponentDesignTime", projectDirectory.Path);
DesignTimeBuildIntegrationTest.cs (3)
20
var command = new
MSBuildCommand
(Log, "Compile", projectDirectory.Path);
42
var command = new
MSBuildCommand
(Log, "RazorGenerateDesignTime;_IntrospectRazorGenerateWithTargetPath", projectDirectory.Path);
73
var command = new
MSBuildCommand
(Log, "RazorGenerateComponentDesignTime;_IntrospectRazorComponentWithTargetPath", projectDirectory.Path);
MvcBuildIntegrationTest50.cs (1)
69
var clean = new
MSBuildCommand
(Log, "Clean", build.FullPathProjectFile);
Microsoft.NET.Sdk.StaticWebAssets.Tests (1)
StaticWebAssetsDesignTimeTest.cs (1)
128
return (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)