Add fonts folder as static resource to project

features/rewrite/grid1
Matija Koželj 2 years ago
parent ae73d175e6
commit 6cd9089f6b

@ -65,6 +65,12 @@
<_NewCompiledCssFiles Include="wwwroot\Connected.Components.min.css" Exclude="@(Content)" /> <_NewCompiledCssFiles Include="wwwroot\Connected.Components.min.css" Exclude="@(Content)" />
<Content Include="@(_NewCompiledCssFiles)" /> <Content Include="@(_NewCompiledCssFiles)" />
</ItemGroup> </ItemGroup>
<Error Condition="!Exists('$(MSBuildProjectDirectory)/wwwroot/Fonts/')" Text="Missing Fonts folder in wwwroot" />
<ItemGroup>
<!--Include without duplication-->
<_OpenSansFont Include="wwwroot\Fonts\OpenSans-*.ttf" Exclude="@(Content)" />
<Content Include="@(_OpenSansFont)" />
</ItemGroup>
</Target> </Target>
<Target Name="Delete sass/js compiler artifacts" AfterTargets="AfterBuild"> <Target Name="Delete sass/js compiler artifacts" AfterTargets="AfterBuild">

Loading…
Cancel
Save