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 3285c40
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
@@ -1,5 +1,15 @@
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<Project>
<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>

<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<PropertyGroup Condition="'$(CopyrightMicrosoft)' != ''">
Expand Down

0 comments on commit 3285c40

Please sign in to comment.