Skip to content

Commit

Permalink
Fixing wrong resource include rule
Browse files Browse the repository at this point in the history
Files matching "Themes\*.xaml" must be added as pages and not as resources.
  • Loading branch information
batzen authored and Oren Novotny committed Jul 29, 2018
1 parent 045f19b commit e23c37b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/MSBuild.Sdk.Extras/DefaultItems/Platforms/Xaml.targets
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<ExtrasEnableDefaultPageItems Condition="'$(ExtrasEnableDefaultPageItems)' == ''">true</ExtrasEnableDefaultPageItems>
<ExtrasEnableDefaultResourceItems Condition="'$(ExtrasEnableDefaultResourceItems)' == ''">true</ExtrasEnableDefaultResourceItems>

<ExtrasDefaultResourceIncludes Condition="'$(ExtrasDefaultResourceIncludes)' == ''">Themes\*.xaml;Resources\*.xaml</ExtrasDefaultResourceIncludes>
<ExtrasDefaultResourceIncludes Condition="'$(ExtrasDefaultResourceIncludes)' == ''">Resources\*.xaml</ExtrasDefaultResourceIncludes>
<ExtrasDefaultPageExcludes Condition="'$(ExtrasDefaultPageExcludes)' != ''">$(ApplicationDefinitionFile);$(ExtrasDefaultResourceIncludes);$(ExtrasDefaultPageExcludes)</ExtrasDefaultPageExcludes>
<ExtrasDefaultPageExcludes Condition="'$(ExtrasDefaultPageExcludes)' == ''">$(ApplicationDefinitionFile);$(ExtrasDefaultResourceIncludes)</ExtrasDefaultPageExcludes>

Expand Down Expand Up @@ -81,4 +81,4 @@
</DesignDataWithDesignTimeCreatableTypes>
</ItemGroup>

</Project>
</Project>

0 comments on commit e23c37b

Please sign in to comment.