mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 03:57:38 +08:00
47 lines
1.4 KiB
XML
47 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8</TargetFrameworks>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AntDesign.Docs\AntDesign.Docs.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Watch Include="$(SolutionDir)**\*.razor" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<DocFiles Include="$(SolutionDir)docs\**\*.*"></DocFiles>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net5'">
|
|
<PackageReference Include="BlazorPolyfill.Server">
|
|
<Version>5.0.102</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net6'">
|
|
<PackageReference Include="BlazorPolyfill.Server">
|
|
<Version>6.0.100.1</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net7'">
|
|
<PackageReference Include="BlazorPolyfill.Server">
|
|
<Version>6.0.100.1</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net8'">
|
|
<PackageReference Include="BlazorPolyfill.Server">
|
|
<Version>6.0.100.1</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<Target Name="CopyDocs" BeforeTargets="Build">
|
|
<Copy SourceFiles="@(DocFiles)" DestinationFolder="$(ProjectDir)\wwwroot\docs\%(RecursiveDir)" ContinueOnError="true" />
|
|
</Target>
|
|
</Project> |