19 references to MSBuildCommand
Microsoft.NET.Build.Tests (11)
DesignTimeBuildTests.cs (1)
94
new
MSBuildCommand
(testAsset, "ResolvePackageDependenciesDesignTime")
EvaluatorFastPathTests.cs (1)
19
var command = new
MSBuildCommand
(testAsset, string.Empty);
GivenFrameworkReferences.cs (1)
1129
var command = new
MSBuildCommand
(testAsset, "WriteResolvedVersions");
GivenThatWeWantToBuildACrossTargetedLibrary.cs (1)
139
new
MSBuildCommand
(testAsset, "GetOutputPath")
GivenThatWeWantToResolveConflicts.cs (2)
436
var getItemsCommand1 = new
MSBuildCommand
(testAsset, "AddPrunePackageReferences");
442
var getItemsCommand2 = new
MSBuildCommand
(testAsset, "ResolvePackageAssets;AddTransitiveFrameworkReferences;AddPrunePackageReferences");
GivenThatWeWantToUseContentFiles.cs (4)
85
var cleanCmd = new
MSBuildCommand
(asset, "Clean");
90
var rebuildCmd = new
MSBuildCommand
(asset, "ReBuild");
95
rebuildCmd = new
MSBuildCommand
(asset, "ReBuild");
100
cleanCmd = new
MSBuildCommand
(asset, "Clean");
RoslynBuildTaskTests.cs (1)
134
var buildCommand = new
MSBuildCommand
(testAsset, "Build");
Microsoft.NET.Restore.Tests (1)
GivenThatWeWantToUseFrameworkRoslyn.cs (1)
160
var command = (MSBuildCommand)new
MSBuildCommand
(testAsset, "Restore;Build")
Microsoft.NET.Sdk.Razor.Tests (1)
PackIntegrationTest.cs (1)
22
var pack = new
MSBuildCommand
(projectDirectory, "Pack");
Microsoft.NET.TestFramework (6)
Commands\BuildCommand.cs (1)
18
:
base
(testAsset, "Build", relativePathToProject)
Commands\CleanCommand.cs (1)
14
:
base
(testAsset, "Clean", relativePathToProject)
Commands\GetValuesCommand.cs (1)
47
:
base
(testAsset, "WriteValuesToFile", relativePathToProject: null)
Commands\PackCommand.cs (1)
14
:
base
(testAsset, "Pack", relativePathToProject, requiredArgs: "/p:_IsPacking=true")
Commands\PublishCommand.cs (1)
20
:
base
(testAsset, "Publish", relativePathToProject, requiredArgs: "/p:_IsPublishing=true")
Commands\RestoreCommand.cs (1)
18
:
base
(testAsset, "Restore", relativePathToProject)