18 references to Escape
aspire (7)
DotNet\DotNetAppHostRestorePreview.cs (5)
66
new XAttribute("Project", MSBuildEscaping.
Escape
(Path.GetFullPath(restoreTargets, Path.GetDirectoryName(path)!))),
70
new XAttribute("Project", MSBuildEscaping.
Escape
(restoreSettings.RestoreTargets)),
91
new XElement("RestoreRootConfigDirectory", MSBuildEscaping.
Escape
(configuration.EffectiveWorkingDirectory.FullName))));
110
=> $"('$(MSBuildProjectFullPath)' == '{MSBuildEscaping.
Escape
(path)}' Or '$(MSBuildProjectFullPath)' == '{MSBuildEscaping.
Escape
(PathNormalizer.ResolveToFilesystemPath(path))}')";
DotNet\DotNetCliRunner.cs (1)
1256
cliArgs = [.. cliArgs, $"-property:NuGetRestoreTargets={MSBuildEscaping.
Escape
(restoreTargets.FullName)}"];
Projects\IntegrationClosureBuilder.cs (1)
123
.Select(MSBuildEscaping.
Escape
)
Aspire.Cli.Tests (11)
DotNet\DotNetCliRunnerTests.cs (10)
80
#:property CustomAfterMicrosoftCommonTargets={{MSBuildEscaping.
Escape
(validationTargets)}}
96
<Import Project="{{MSBuildEscaping.
Escape
(validationTargets)}}" />
142
#:property _WorkloadLibraryPacksFolder={{MSBuildEscaping.
Escape
(libraryPacks.FullName)}}
156
<_WorkloadLibraryPacksFolder>{{MSBuildEscaping.
Escape
(libraryPacks.FullName)}}</_WorkloadLibraryPacksFolder>
256
<Import Project="{{MSBuildEscaping.
Escape
(Path.Combine(sdkDirectory, "NuGet.targets"))}}" />
265
<PropertyGroup><TargetFramework>net{{Environment.Version.Major}}.0</TargetFramework><RestorePackagesPath>{{childCache.FullName}}</RestorePackagesPath><DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences><NuGetRestoreTargets>{{MSBuildEscaping.
Escape
(childTargets)}}</NuGetRestoreTargets></PropertyGroup>
283
#:property RestorePackagesPath={{MSBuildEscaping.
Escape
(rootCache.FullName)}}
293
<PropertyGroup><TargetFramework>net{{Environment.Version.Major}}.0</TargetFramework><RestorePackagesPath>{{MSBuildEscaping.
Escape
(rootCache.FullName)}}</RestorePackagesPath><DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences></PropertyGroup>
345
["restore", projectFile.FullName, $"-property:NuGetRestoreTargets={MSBuildEscaping.
Escape
(preview.TargetsFile.FullName)}"]);
809
? ["restore", projectFile.FullName, $"-property:NuGetRestoreTargets={MSBuildEscaping.
Escape
(targets.FullName)}"]
DotNet\MSBuildEscapingTests.cs (1)
15
=> Assert.Equal(expected, MSBuildEscaping.
Escape
(value));