2020-09-17 15:03:25 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
2019-12-04 16:46:08 +08:00
|
|
|
|
|
2021-06-24 19:11:11 +08:00
|
|
|
|
<PropertyGroup>
|
2022-11-10 16:00:11 +08:00
|
|
|
|
<TargetFrameworks>net7</TargetFrameworks>
|
2020-03-11 18:45:37 +08:00
|
|
|
|
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
|
2022-11-10 16:00:11 +08:00
|
|
|
|
<BlazorWebAssemblyLoadAllGlobalizationData>false</BlazorWebAssemblyLoadAllGlobalizationData>
|
2019-12-04 16:46:08 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2021-06-24 19:11:11 +08:00
|
|
|
|
<PropertyGroup Condition="$(EnableAOT) == 'true'">
|
|
|
|
|
<RunAOTCompilation>true</RunAOTCompilation>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup Condition="$(TargetFramework) == 'net6'">
|
2022-05-29 17:44:27 +08:00
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0" PrivateAssets="all" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="6.0.0" />
|
2021-06-24 19:11:11 +08:00
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web.Extensions" Version="5.0.0-preview9.20513.1" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2022-11-10 16:00:11 +08:00
|
|
|
|
<ItemGroup Condition="$(TargetFramework) == 'net7'">
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.0" PrivateAssets="all" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="7.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web.Extensions" Version="5.0.0-preview9.20513.1" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2020-06-13 23:21:44 +08:00
|
|
|
|
<ItemGroup>
|
2021-06-24 19:11:11 +08:00
|
|
|
|
<EmscriptenEnvVars Include="PYTHONUTF8=1" />
|
2020-06-13 23:21:44 +08:00
|
|
|
|
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
|
2019-12-04 16:46:08 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2021-02-06 20:15:46 +08:00
|
|
|
|
<ProjectReference Include="..\AntDesign.Docs\AntDesign.Docs.csproj" />
|
2019-12-04 16:46:08 +08:00
|
|
|
|
</ItemGroup>
|
2020-03-17 13:42:54 +08:00
|
|
|
|
|
2020-05-10 15:42:02 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="$(SolutionDir)scripts\gh-pages\**" LinkBase="gh-pages" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2021-04-15 12:26:00 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<DocFiles Include="$(SolutionDir)docs\**\*.*"></DocFiles>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<Target Name="CopyDocs" BeforeTargets="Build">
|
|
|
|
|
<Copy SourceFiles="@(DocFiles)" DestinationFolder="$(ProjectDir)\wwwroot\docs\%(RecursiveDir)" ContinueOnError="true" />
|
|
|
|
|
</Target>
|
2019-12-04 16:46:08 +08:00
|
|
|
|
</Project>
|