This repository was archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathSample.WebAssembly.csproj
More file actions
32 lines (27 loc) · 1.52 KB
/
Sample.WebAssembly.csproj
File metadata and controls
32 lines (27 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Exe</OutputType>
<LangVersion>7.3</LangVersion>
<RazorLangVersion>3.0</RazorLangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview9.19465.2" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview9.19465.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.HttpClient" Version="3.0.0-preview9.19465.2" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview9.19465.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Sample.Core\Sample.Core.csproj" />
</ItemGroup>
<!-- Workaround for https://github.com/aspnet/AspNetCore/issues/13103 -->
<!-- This is only needed for standalone Blazor WebAssembly apps. It's not needed when hosted on ASP.NET Core. -->
<Target Name="CopyBlazorInputFileAssets" BeforeTargets="Build">
<ItemGroup>
<_BlazorInputFile_FilesToCopy Include="..\..\BlazorInputFile\wwwroot\**" />
<_SampleCore_FilesToCopy Include="..\Sample.Core\wwwroot\**" />
</ItemGroup>
<Copy SourceFiles="@(_BlazorInputFile_FilesToCopy)" DestinationFolder="wwwroot\_content\BlazorInputFile" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(_SampleCore_FilesToCopy)" DestinationFolder="wwwroot\_content\Sample.Core" SkipUnchangedFiles="true" />
</Target>
</Project>