dotnet publish include a folder

In the .csproj file

 

  <ItemGroup>
    <Content Include="App_Data\*" CopyToPublishDirectory="PreserveNewest" />
  </ItemGroup>
创建时间:10/17/2022 1:06:05 AM 修改时间:10/17/2022 1:06:43 AM