79244841

Date: 2024-12-02 16:32:52
Score: 1
Natty:
Report link

It says that folders like wwwroot will automatically be copied to the output folder but it is not. I added the following statements to the csproj file and it works.

<ItemGroup>
  <Content Update="wwwroot\**\*">
    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  </Content>
</ItemGroup>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: vn2302