ant-design-blazor/site/AntDesign.Docs.Wasm/AntDesign.Docs.Wasm.csproj

47 lines
2.1 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
2019-12-04 16:46:08 +08:00
<PropertyGroup>
<TargetFrameworks>net7</TargetFrameworks>
2020-03-11 18:45:37 +08:00
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<BlazorWebAssemblyLoadAllGlobalizationData>false</BlazorWebAssemblyLoadAllGlobalizationData>
2019-12-04 16:46:08 +08:00
</PropertyGroup>
<PropertyGroup Condition="$(EnableAOT) == 'true'">
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>
<ItemGroup Condition="$(TargetFramework) == 'net6'">
<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" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web.Extensions" Version="5.0.0-preview9.20513.1" />
</ItemGroup>
<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>
<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
<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>