17 references to WithProperty
Aspire.Cli.Tests (17)
Projects\ProjectUpdaterNuGetConfigurationTests.cs (4)
321
.
WithProperty
("_UsingAspireAppHostSdk", "true")
322
.
WithProperty
("DirectoryBuildPropsPath", propsPath)
1715
childEvaluation.
WithProperty
("RestoreAdditionalProjectSources", $" ; {childSource};https://public.example/feed; ");
1724
evaluation.
WithProperty
("RestoreAdditionalProjectSources", $"https://public.example/feed;{rootSource};");
Projects\ProjectUpdaterTests.cs (13)
107
.
WithProperty
("_UsingAspireAppHostSdk", hasMarker ? "true" : "")
108
.
WithProperty
("_AspireAppHostPackageVersion", "17.0.0")
109
.
WithProperty
(importProperty, importedFile)
254
document.
WithProperty
("_AspireAppHostPackageVersion", "17.0.0");
259
document.
WithProperty
("MSBuildProjectFullPath", syntheticProject);
264
document.
WithProperty
("DirectoryBuildPropsPath", Path.Combine(workspace.WorkspaceRoot.FullName, "Directory.Build.props"));
366
.
WithProperty
("_UsingAspireAppHostSdk", "true")
367
.
WithProperty
("_AspireAppHostPackageVersion", "17.0.0")
2290
itemsAndProperties.
WithProperty
("AspireVersion", "9.4.1");
2408
itemsAndProperties.
WithProperty
("AspireVersion", "9.4.1");
2413
itemsAndProperties.
WithProperty
("AspireUnstableVersion", "9.4.1-preview.1");
2527
itemsAndProperties.
WithProperty
("InvalidVersionProperty", "not-a-version");
3827
itemsAndProperties.
WithProperty
("ManagePackageVersionsCentrally", "false");