Skip to content

Commit

Permalink
Provide internal attributes to WPF temporary assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2 committed Jul 30, 2020
1 parent 65deefd commit 509b24b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<ItemGroup Condition="'$(GenerateNullableAttributes)' == 'true' AND Exists($(NullableAttributesPath))">
<Compile Include="$(NullableAttributesPath)" Visible="false" />

<!-- Workaround for https://github.com/dotnet/wpf/issues/810 -->
<_GeneratedCodeFiles Include="$(NullableAttributesPath)" Visible="false" Condition="'$(UseWPF)' == 'true'" />

<!-- Make sure the source file is embedded in PDB to support Source Link -->
<EmbeddedFiles Condition="'$(DebugType)' != 'none'" Include="$(NullableAttributesPath)" />
</ItemGroup>
Expand Down

0 comments on commit 509b24b

Please sign in to comment.