forked from aspnet/AspLabs
/
Microsoft.AspNetCore.Components.Electron.csproj
30 lines (25 loc) · 1.36 KB
/
Microsoft.AspNetCore.Components.Electron.csproj
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
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>library</OutputType>
<BlazorPackageVersion>3.0.0-preview9.19457.4</BlazorPackageVersion>
<IsPackable>true</IsPackable>
<!-- ElectronNET.API is not strong-named signed -->
<SignAssembly>false</SignAssembly>
<LangVersion>preview</LangVersion>
<!-- The version included via the SDK conflicts with the analyzer included via Microsoft.AspNetCore.Blazor -->
<DisableImplicitComponentsAnalyzers>true</DisableImplicitComponentsAnalyzers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ElectronNET.API" Version="0.0.9" />
<PackageReference Include="MessagePack" Version="1.7.3.4" />
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="$(BlazorPackageVersion)" />
<ProjectReference Include="..\Microsoft.AspNetCore.Components.Electron.JS\Microsoft.AspNetCore.Components.Electron.JS.csproj" ReferenceOutputAssembly="false" />
</ItemGroup>
<Target Name="GetJsFiles" BeforeTargets="CoreBuild">
<Copy SourceFiles="..\Microsoft.AspNetCore.Components.Electron.JS\dist\components.electron.js" DestinationFolder="electron-js" />
</Target>
<ItemGroup>
<Content Include="electron-js\**" CopyToOutputDirectory="PreserveNewest" BuildAction="None" PackageCopyToOutput="true" />
</ItemGroup>
</Project>