Skip to content

Commit ad9baf9

Browse files
committed
Work around dotnet/wpf#1718 by not embedding untracked source
1 parent cb51adc commit ad9baf9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

eng/targets/Settings.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@
4343
<WindowsAppContainer>false</WindowsAppContainer>
4444

4545
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
46+
47+
<!--
48+
When markup compilation is involved, WPF generates .g.cs files via the GenerateTemporaryTargetAssembly task.
49+
These do not always have the correct full-paths to their respective .xaml files annotated in them in the #line directives.
50+
This can cause compile errors if these files are included in Source Link.
51+
https://github.com/dotnet/wpf/issues/1718
52+
-->
53+
<EmbedUntrackedSources>false</EmbedUntrackedSources>
4654
</PropertyGroup>
4755

4856
<!--

0 commit comments

Comments
 (0)