137 references to WithProjectChanges
dotnet.Tests (1)
PackagedCommandTests.cs (1)
89testInstance = testInstance.WithProjectChanges((projectPath, project) =>
dotnet-watch.Tests (1)
CommandLine\ProgramTests.cs (1)
326.WithProjectChanges((path, proj) =>
Microsoft.NET.Build.Tests (38)
AppHostTests.cs (1)
53.WithProjectChanges((path, project) =>
GivenThatWeWantToBuildACppCliNonLibraryProject.cs (1)
36.WithProjectChanges((projectPath, project) =>
GivenThatWeWantToBuildACppCliProject.cs (6)
22.WithProjectChanges((projectPath, project) => AddBuildProperty(projectPath, project, "EnableManagedpackageReferenceSupport", "true")); 59.WithProjectChanges((projectPath, project) => 93.WithProjectChanges((projectPath, project) => AddBuildProperty(projectPath, project, "EnableManagedpackageReferenceSupport", "True")); ; 120.WithProjectChanges((projectPath, project) => 148.WithProjectChanges((projectPath, project) => 165.WithProjectChanges((projectPath, project) =>
GivenThatWeWantToBuildADesktopExeWtihNetStandardLib.cs (6)
91.WithProjectChanges((projectPath, project) => 135.WithProjectChanges((projectPath, project) => 183.WithProjectChanges((projectPath, project) => 266.WithProjectChanges((projectPath, project) => 333.WithProjectChanges((projectPath, project) => 371.WithProjectChanges((projectPath, project) =>
GivenThatWeWantToBuildADesktopLibrary.cs (3)
89.WithProjectChanges((projectPath, project) => 406.WithProjectChanges((path, p) => 474.WithProjectChanges((path, p) =>
GivenThatWeWantToBuildALibrary.cs (1)
823.WithProjectChanges((path, p) =>
GivenThatWeWantToBuildAnAppWithTransitiveNonSdkProjectRefs.cs (1)
38.WithProjectChanges(
GivenThatWeWantToControlGeneratedAssemblyInfo.cs (12)
112.WithProjectChanges((path, project) => 143.WithProjectChanges((path, project) => 175.WithProjectChanges((path, project) => 211.WithProjectChanges((path, project) => 346.WithProjectChanges((path, project) => 375.WithProjectChanges((path, project) => 441.WithProjectChanges((path, project) => 538.WithProjectChanges((path, project) => 565.WithProjectChanges((path, project) => 591.WithProjectChanges((path, project) => 618.WithProjectChanges((path, project) => 644.WithProjectChanges((path, project) =>
GivenThatWeWantToExcludeTheMainProjectFromTheDepsFile.cs (1)
34.WithProjectChanges((path, project) =>
GivenThatWeWantToPublishWithGeneratePackageOnBuildAndPackAsTool.cs (1)
25.WithProjectChanges((projectPath, project) =>
GivenThatWeWantToReferenceAProject.cs (2)
260var testAsset = _testAssetsManager.CreateTestProject(testProjectC).WithProjectChanges((path, p) => 323var testAsset = _testAssetsManager.CreateTestProject(testProjectC).WithProjectChanges((path, p) =>
GivenThatWeWantToTargetNet471.cs (3)
305.WithProjectChanges((projectPath, project) => 438.WithProjectChanges((projectPath, project) => 550.WithProjectChanges((projectPath, project) =>
Microsoft.NET.Pack.Tests (2)
GivenThatWeWantToPackACppCliProject.cs (2)
20.WithProjectChanges((projectPath, project) => AddPackageReference(projectPath, project, "NewtonSoft.Json", ToolsetInfo.GetNewtonsoftJsonPackageVersion())) 21.WithProjectChanges((projectPath, project) => AddBuildProperty(projectPath, project, "EnableManagedpackageReferenceSupport", "true"));
Microsoft.NET.Publish.Tests (4)
GivenThatWeWantToPreserveCompilationContext.cs (1)
171.WithProjectChanges((path, project) =>
GivenThatWeWantToPublishAProjectWithAllFeatures.cs (1)
194.WithProjectChanges((path, project) =>
GivenThatWeWantToPublishWithGeneratePackageOnBuildAndPackAsTool.cs (2)
27.WithProjectChanges((projectPath, project) => 53.WithProjectChanges((projectPath, project) =>
Microsoft.NET.Sdk.BlazorWebAssembly.AoT.Tests (4)
WasmAoTPublishIntegrationTest.cs (4)
22.WithProjectChanges((p, doc) => 65.WithProjectChanges((p, doc) => 93.WithProjectChanges((p, doc) => 193.WithProjectChanges((project, document) =>
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (61)
BlazorWasmStaticWebAssetsIntegrationTest.cs (7)
19.WithProjectChanges((p, doc) => 61.WithProjectChanges((p, doc) => 97.WithProjectChanges((p, doc) => 137.WithProjectChanges((p, doc) => 177.WithProjectChanges((p, doc) => 218ProjectDirectory.WithProjectChanges((project, document) => 269ProjectDirectory.WithProjectChanges((project, document) =>
VanillaWasmTests.cs (1)
16.WithProjectChanges((p, doc) =>
WasmBuildIncrementalismTest.cs (4)
62var projectDirectory = CreateAspNetSdkTestAsset(testAsset).WithProjectChanges((path, document) => 106.WithProjectChanges((p, doc) => 169.WithProjectChanges((p, doc) => 219.WithProjectChanges((p, doc) =>
WasmBuildIntegrationTest.cs (11)
29.WithProjectChanges((p, doc) => 61.WithProjectChanges((path, doc) => 97testInstance.WithProjectChanges((project, document) => 148.WithProjectChanges((p, doc) => 186.WithProjectChanges((p, doc) => 233.WithProjectChanges((p, doc) => 572ProjectDirectory.WithProjectChanges((path, project) => 628testInstance.WithProjectChanges((path, project) => 658testInstance.WithProjectChanges((path, project) => 722.WithProjectChanges((path, project) => 741testInstance.WithProjectChanges((path, project) =>
WasmCompressionTests.cs (2)
18.WithProjectChanges((p, doc) => 71.WithProjectChanges((p, doc) =>
WasmJsModulesIntegrationTests.cs (5)
20.WithProjectChanges((p, doc) => 61.WithProjectChanges((p, doc) => 109.WithProjectChanges((p, doc) => 158.WithProjectChanges((p, doc) => 278ProjectDirectory.WithProjectChanges((path, document) =>
WasmPublishIntegrationTest.cs (28)
23.WithProjectChanges((path, project) => 62.WithProjectChanges((path, project) => 114.WithProjectChanges((path, project) => 122testInstance.WithProjectChanges((project, document) => 167.WithProjectChanges((path, project) => 216.WithProjectChanges((path, project) => 280.WithProjectChanges((path, project) => 332testInstance.WithProjectChanges((path, project) => 394testInstance.WithProjectChanges((path, project) => 461testInstance.WithProjectChanges((path, project) => 531.WithProjectChanges((path, project) => 542testInstance.WithProjectChanges((path, project) => 583.WithProjectChanges((path, project) => 676.WithProjectChanges((path, project) => 718.WithProjectChanges((path, project) => 729testInstance.WithProjectChanges((path, project) => 779testInstance.WithProjectChanges((path, project) => 878.WithProjectChanges((path, project) => 941.WithProjectChanges((path, project) => 1034.WithProjectChanges((path, project) => 1136.WithProjectChanges((path, project) => 1147testInstance.WithProjectChanges((path, project) => 1198.WithProjectChanges((path, project) => 1221testInstance.WithProjectChanges((project, doc) => 1257.WithProjectChanges((path, project) => 1283.WithProjectChanges((path, project) => 1505.WithProjectChanges((path, project) => 1573testInstance.WithProjectChanges((path, project) =>
WasmPwaManifestTests.cs (3)
22.WithProjectChanges((p, doc) => 151.WithProjectChanges((p, doc) => 201.WithProjectChanges((p, doc) =>
Microsoft.NET.Sdk.Razor.Tests (3)
BuildIntegrationTest.cs (2)
191.WithProjectChanges((path, project) => 230.WithProjectChanges((path, project) =>
PublishIntegrationTest.cs (1)
160.WithProjectChanges((path, project) =>
Microsoft.NET.Sdk.StaticWebAssets.Tests (19)
JsModulesIntegrationTest.cs (1)
292ProjectDirectory.WithProjectChanges((project, document) =>
LegacyStaticWebAssetsV1IntegrationTest.cs (2)
18.WithProjectChanges((project, document) => 81.WithProjectChanges((project, document) =>
ScopedCssIntegrationTests.cs (2)
452.WithProjectChanges((project, document) => 500.WithProjectChanges((project, document) =>
StaticWebAssetEndpointsIntegrationTest.cs (4)
409.WithProjectChanges((p, doc) => 436.WithProjectChanges((p, doc) => 463.WithProjectChanges((p, doc) => 489.WithProjectChanges((p, doc) =>
StaticWebAssetsCompressionIntegrationTest.cs (1)
103.WithProjectChanges((project, xml) =>
StaticWebAssetsDesignTimeTest.cs (1)
135.WithProjectChanges((name, project) =>
StaticWebAssetsIntegrationTest.cs (2)
473.WithProjectChanges((name, project) => 528.WithProjectChanges((name, project) =>
StaticWebAssetsPackIntegrationTest.cs (6)
200projectDirectory.WithProjectChanges((project, document) => 240projectDirectory.WithProjectChanges((project, document) => 283projectDirectory.WithProjectChanges((project, document) => 324projectDirectory.WithProjectChanges((project, document) => 364projectDirectory.WithProjectChanges((project, document) => 1450projectDirectory.WithProjectChanges((project, document) =>
Microsoft.NET.TestFramework (2)
TestAsset.cs (2)
232return WithProjectChanges((path, project) => 252return WithProjectChanges((path, project) => xmlAction(project));
Microsoft.NET.ToolPack.Tests (2)
GivenThatWeWantToPackAToolProjectWithGeneratePackageOnBuild.cs (2)
25.WithProjectChanges((projectPath, project) => 88.WithProjectChanges((projectPath, project) =>