You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.1 KiB

4 years ago
4 years ago
4 years ago
2 months ago
4 years ago
4 years ago
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="..\Apewer\Apewer.props" />
  3. <PropertyGroup>
  4. <DefineConstants>WEB;$(DefineConstants);</DefineConstants>
  5. <TargetFrameworks>netcoreapp3.1;net40;net20</TargetFrameworks>
  6. </PropertyGroup>
  7. <!-- 打包 -->
  8. <PropertyGroup>
  9. <Description>实现 Web 服务器功能。</Description>
  10. </PropertyGroup>
  11. <ItemGroup>
  12. <EmbeddedResource Include="FavIcon.ico" />
  13. <EmbeddedResource Include="WebConfig40.xml" />
  14. <EmbeddedResource Include="WebConfigStd.xml" />
  15. <EmbeddedResource Include="WebConfig461.xml" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <ProjectReference Include="..\Apewer\Apewer.csproj" />
  19. <FrameworkReference Condition="'$(TargetFramework)' == 'netcoreapp3.1'" Include="Microsoft.AspNetCore.App" />
  20. <Reference Condition="'$(TargetFramework)' == 'net461'" Include="System.Web" />
  21. <Reference Condition="'$(TargetFramework)' == 'net40'" Include="System.Web" />
  22. <Reference Condition="'$(TargetFramework)' == 'net20'" Include="System.Web" />
  23. </ItemGroup>
  24. </Project>