2019-12-04 16:46:08 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2020-02-15 18:22:51 +08:00
|
|
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
2019-12-04 16:46:08 +08:00
|
|
|
|
<RazorLangVersion>3.0</RazorLangVersion>
|
2020-03-11 18:45:37 +08:00
|
|
|
|
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
|
2019-12-04 16:46:08 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2020-05-08 14:52:20 +08:00
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-rc1.20223.4" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-rc1.20223.4" PrivateAssets="all" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-rc1.20223.4" PrivateAssets="all" />
|
2020-03-11 18:45:37 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<!-- When publishing, swap service-worker.published.js in place of service-worker.js -->
|
2020-03-28 00:02:11 +08:00
|
|
|
|
<ItemGroup Condition="'$(Configuration)' != 'Debug' And '$(DesignTimeBuild)' != 'true'">
|
2020-03-11 18:45:37 +08:00
|
|
|
|
<Content Remove="wwwroot\service-worker.js" />
|
|
|
|
|
<Content Update="wwwroot\service-worker.published.js" Link="wwwroot\service-worker.js" />
|
2019-12-04 16:46:08 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\AntBlazor.Docs\AntBlazor.Docs.csproj" />
|
|
|
|
|
</ItemGroup>
|
2020-03-17 13:42:54 +08:00
|
|
|
|
|
2020-03-28 00:02:11 +08:00
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' And '$(SolutionDir)'==''">
|
|
|
|
|
<SolutionDir>../../</SolutionDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-03-17 13:42:54 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<DocFiles Include="$(SolutionDir)docs\**\*.*" />
|
|
|
|
|
</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>
|