mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-10 18:43:54 -06:00
Project build with space in filepath fix (#15447)
## Summary of the Pull Request Fixing a problem where the repo build failed when the project location path contained space character. ## References and Relevant Issues Closes #15370 ## Detailed Description of the Pull Request / Additional comments Placing missing quote, amp and apos symbols when calling commands with filepath parameters. ## Validation Steps Performed Built locally. ## PR Checklist - [x] Closes #xxx - [x] Tests added/passed - [x] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [x] Schema updated (if necessary)
This commit is contained in:
parent
f0705fb7f7
commit
c627991522
@ -30,7 +30,7 @@
|
||||
DependsOnTargets="_ConsoleMapWinmdsToManifestFiles">
|
||||
|
||||
<!-- This target is batched and a new Exec is spawned for each entry in _ConsoleWinmdManifest. -->
|
||||
<Exec Command="mt.exe -winmd:%(_ConsoleWinmdManifest.WinMDPath) -dll:%(_ConsoleWinmdManifest.Implementation) -out:%(_ConsoleWinmdManifest.Identity)" />
|
||||
<Exec Command="mt.exe -winmd:"%(_ConsoleWinmdManifest.WinMDPath)" -dll:%(_ConsoleWinmdManifest.Implementation) -out:"%(_ConsoleWinmdManifest.Identity)"" />
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Emit the generated manifest into the Link inputs. -->
|
||||
|
||||
@ -327,7 +327,7 @@
|
||||
|
||||
<!-- PowerShell version check, outputs error if the wrong version is installed. -->
|
||||
<Target Name="_WindowsPowershellVersionCheck" BeforeTargets="BeforeClCompile">
|
||||
<Exec Command="powershell.exe -NoProfile -ExecutionPolicy Unrestricted "$(OpenConsoleDir)\tools\WindowsCheckPSVersion.ps1"" />
|
||||
<Exec Command="powershell.exe -NoProfile -ExecutionPolicy Unrestricted -File "$(OpenConsoleDir)\tools\WindowsCheckPSVersion.ps1"" />
|
||||
</Target>
|
||||
<Target Name="_PowershellVersionCheck" BeforeTargets="BeforeClCompile">
|
||||
<Exec Command="pwsh.exe -NoProfile -ExecutionPolicy Unrestricted "$(OpenConsoleDir)\tools\CheckPSVersion.ps1"" />
|
||||
|
||||
@ -126,7 +126,7 @@
|
||||
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>copy $(SolutionDir)\dep\WinAppDriver\* $(OutDir)\</PostBuildEvent>
|
||||
<PostBuildEvent>copy "$(SolutionDir)\dep\WinAppDriver\*" "$(OutDir)\"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\..\common.nugetversions.targets" />
|
||||
</Project>
|
||||
@ -27,7 +27,7 @@
|
||||
Condition="'$(BuildingInsideVisualStudio)' == 'true'">
|
||||
|
||||
<!--Have the [nuget.exe] tool do a restore on the global [packages.config] file for the repository.-->
|
||||
<Exec Command="$(Terminal_NuGetEXE) install $(Terminal_GlobalPackagesConfigPath)" />
|
||||
<Exec Command="$(Terminal_NuGetEXE) install "$(Terminal_GlobalPackagesConfigPath)"" />
|
||||
|
||||
<!--Copy this version of [packages.config] to the output directory to allow us to skip this work in the future if nothing changed.-->
|
||||
<Copy SourceFiles="$(Terminal_GlobalPackagesConfigPath)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user