Skip to content

Commit

Permalink
Implement a workaround for dotnet/wpf#1718
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Jan 25, 2020
1 parent faf701d commit e441426
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

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

<PropertyGroup Condition="'$(CopyrightMicrosoft)' != ''">
<Copyright>$(CopyrightMicrosoft)</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand Down

0 comments on commit e441426

Please sign in to comment.