FileDownloader/FileServer.csproj

30 lines
1.0 KiB
XML
Raw Normal View History

2025-08-05 22:23:28 +08:00
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
2025-08-05 22:45:15 +08:00
<OutputPath>./bin</OutputPath>
2025-08-05 22:23:28 +08:00
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
2025-08-05 22:45:15 +08:00
<OutputPath>./bin</OutputPath>
2025-08-05 22:23:28 +08:00
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.2.0" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>