File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 6363 Outputs =" $(OpenConsoleCommonOutDir)\inc\TilFeatureStaging.h"
6464 DependsOnTargets =" _GenerateBranchAndBrandingCache" >
6565 <MakeDir Directories =" $(OpenConsoleCommonOutDir)\inc" />
66+ <!-- This commandline is escaped like:
67+
68+ powershell -Command "&'$(SolutionDir)\tools\Generate-FeatureStagingHeader.ps1' -Path '%(FeatureFlagFile.FullPath)'' -Branding $(_WTBrandingName)"
69+
70+ which was the only way I could find to get it to obey spaces in the SolutionDir
71+ -->
6672 <Exec
67- Command =" powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy ByPass -Command " $(SolutionDir)\tools\Generate-FeatureStagingHeader.ps1" ; -Path " ; %(FeatureFlagFile.FullPath)" ; -Branding $(_WTBrandingName)"
73+ Command =" powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy ByPass -Command "&' $(SolutionDir)\tools\Generate-FeatureStagingHeader.ps1&apos ; -Path &apos ; %(FeatureFlagFile.FullPath)&apos ; -Branding $(_WTBrandingName)" "
6874 ConsoleToMsBuild =" true"
6975 StandardOutputImportance =" low" >
7076 <Output TaskParameter =" ConsoleOutput" ItemName =" _FeatureFlagFileLines" />
Original file line number Diff line number Diff line change 7878 <AdditionalIncludeDirectories >$(IntermediateOutputPath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories >
7979 </ResourceCompile >
8080 </ItemDefinitionGroup >
81+ <!-- If you don't include a '.' at the end of the $(IntermediateOutputPath),
82+ mc.exe will get confused by the trailign slash. -->
8183 <Target Name =" MessageCompile" Inputs =" @(MessageCompile)" Outputs =" $(IntermediateOutputPath)\%(MessageCompile.Filename).h" BeforeTargets =" ClCompile" >
82- <Exec Command =" mc.exe /h " $(IntermediateOutputPath)" /r " $(IntermediateOutputPath)" @(MessageCompile)" />
84+ <Exec Command =" mc.exe /h " $(IntermediateOutputPath). " /r " $(IntermediateOutputPath). " @(MessageCompile)" />
8385 </Target >
8486 <!-- Careful reordering these. Some default props (contained in these files) are order sensitive. -->
8587 <Import Project =" ..\common.build.post.props" />
You can’t perform that action at this time.
0 commit comments