Closed shreesharao closed 6 years ago
There is a CopyToPublishDirectory attribute for ItemGroup elements that determines whether to copy the file to the publish directory and can have one of the following value:
Example:
<ItemGroup>
<Content Include="wwwrootalias\css\site.css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
dotnet publish command is not copying static files to output publish directory