Fix package command for fonts in .csproj

pull/13/head
Matija Koželj 2 years ago
parent 07a0b3c924
commit f35b855ba7

@ -68,7 +68,7 @@
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/Fonts/')" Text="Missing Fonts folder in wwwroot" /> <Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/Fonts/')" Text="Missing Fonts folder in wwwroot" />
<ItemGroup> <ItemGroup>
<!--Include without duplication--> <!--Include without duplication-->
<_OpenSansFont Include="wwwroot\Fonts\OpenSans-*.ttf" Exclude="@(Content)" /> <_OpenSansFont Include="wwwroot\Fonts\OpenSans-*.woff2" Exclude="@(Content)" />
<Content Include="@(_OpenSansFont)" /> <Content Include="@(_OpenSansFont)" />
</ItemGroup> </ItemGroup>
</Target> </Target>

Loading…
Cancel
Save