Skip to content

Commit e54352a

Browse files
committed
Workaround for build issue: use xcopy to copy System.Waf.Uwp.xr.xml into the correct folder
1 parent e84c5f3 commit e54352a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/System.Waf/System.Waf/System.Waf.Uwp/System.Waf.Uwp.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,12 @@
8282
<Page Include="Themes\Generic.xaml">
8383
<SubType>Designer</SubType>
8484
<Generator>MSBuild:Compile</Generator>
85-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
8685
</Page>
8786
</ItemGroup>
8887
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
88+
<PropertyGroup>
89+
<PostBuildEvent>xcopy "$(TargetDir)System.Waf.Uwp.xr.xml" "$(TargetDir)System.Waf.Uwp\"</PostBuildEvent>
90+
</PropertyGroup>
8991
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
9092
Other similar extension points exist, see Microsoft.Common.targets.
9193
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)