Skip to content

Commit fd3e172

Browse files
authored
Add project properties for NuGet package of Cybits (#366)
1 parent 514bc3b commit fd3e172

1 file changed

Lines changed: 29 additions & 11 deletions

File tree

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,34 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Library</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
<ApplicationIcon />
7-
<StartupObject />
8-
</PropertyGroup>
3+
<PropertyGroup>
4+
<Authors>Blockcore</Authors>
5+
<AssemblyTitle>Blockcore.Networks.Cybits</AssemblyTitle>
6+
<AssemblyName>Blockcore.Networks.Cybits</AssemblyName>
7+
<PackageId>Blockcore.Networks.Cybits</PackageId>
8+
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
9+
<IsPackable>true</IsPackable>
10+
</PropertyGroup>
911

10-
<ItemGroup>
11-
<ProjectReference Include="..\Blockcore\Blockcore.csproj" />
12-
<ProjectReference Include="..\Features\Blockcore.Features.Consensus\Blockcore.Features.Consensus.csproj" />
13-
<ProjectReference Include="..\Features\Blockcore.Features.MemoryPool\Blockcore.Features.MemoryPool.csproj" />
14-
</ItemGroup>
12+
<PropertyGroup>
13+
<LangVersion>latest</LangVersion>
14+
<PackageIcon>icon.png</PackageIcon>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<EmbeddedResource Include="icon.png" />
19+
</ItemGroup>
20+
21+
<ItemGroup>
22+
<None Include="icon.png">
23+
<Pack>True</Pack>
24+
<PackagePath></PackagePath>
25+
</None>
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<ProjectReference Include="..\Blockcore\Blockcore.csproj" />
30+
<ProjectReference Include="..\Features\Blockcore.Features.Consensus\Blockcore.Features.Consensus.csproj" />
31+
<ProjectReference Include="..\Features\Blockcore.Features.MemoryPool\Blockcore.Features.MemoryPool.csproj" />
32+
</ItemGroup>
1533

1634
</Project>

0 commit comments

Comments
 (0)