Fix package command for fonts in .csproj

This commit is contained in:
Matija Koželj 2023-03-09 15:34:44 +01:00
parent 07a0b3c924
commit f35b855ba7

View File

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