Skip to content

Commit

Permalink
use shared directory.build.props file (neo-project#403)
Browse files Browse the repository at this point in the history
* use shared directory.build.props file

* Update src/LevelDBStore/LevelDBStore.csproj

Co-authored-by: Erik Zhang <[email protected]>

* Update src/RocksDBStore/RocksDBStore.csproj

Co-authored-by: Erik Zhang <[email protected]>

* Update src/RocksDBStore/RocksDBStore.csproj

Co-authored-by: Erik Zhang <[email protected]>

* CR Feedback

* Fix namespace

Co-authored-by: Harry <[email protected]>
Co-authored-by: Erik Zhang <[email protected]>
Co-authored-by: Harry Pierson <[email protected]>
  • Loading branch information
4 people authored Nov 23, 2020
1 parent f0a3ab6 commit 85bd7c3
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 34 deletions.
3 changes: 1 addition & 2 deletions src/ApplicationLogs/ApplicationLogs.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>Neo.Plugins.ApplicationLogs</PackageId>
<RootNamespace>Neo.Plugins</RootNamespace>
</PropertyGroup>

Expand Down
21 changes: 21 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<VersionPrefix>3.0.0</VersionPrefix>
<VersionSuffix>preview3</VersionSuffix>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Neo.Plugins</RootNamespace>
<Authors>The Neo Project</Authors>
<PackageTags>NEO;Blockchain</PackageTags>
<PackageProjectUrl>https://github.com/neo-project/neo-modules</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/neo-project/neo-modules.git</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01066" />
</ItemGroup>

</Project>
9 changes: 2 additions & 7 deletions src/LevelDBStore/LevelDBStore.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Neo</RootNamespace>
<PackageId>Neo.Plugins.Storage.LevelDBStore</PackageId>
<RootNamespace>Neo.Plugins.Storage</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand All @@ -14,8 +13,4 @@
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01066" />
</ItemGroup>

</Project>
4 changes: 1 addition & 3 deletions src/RocksDBStore/RocksDBStore.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>Neo.Plugins.Storage.RocksDBStore</PackageId>
<RootNamespace>Neo.Plugins.Storage</RootNamespace>
</PropertyGroup>

Expand All @@ -14,7 +13,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01066" />
<PackageReference Include="RocksDbNative" Version="6.2.2" />
<PackageReference Include="RocksDbSharp" Version="6.2.2" />
</ItemGroup>
Expand Down
14 changes: 1 addition & 13 deletions src/RpcClient/RpcClient.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Neo.Network.RPC</RootNamespace>
<Authors>The Neo Project</Authors>
<PackageId>Neo.Network.RPC.RpcClient</PackageId>
<PackageTags>NEO;Blockchain</PackageTags>
<PackageProjectUrl>https://github.com/neo-project/neo-modules</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/neo-project/neo-modules.git</RepositoryUrl>
<RootNamespace>Neo.Network.RPC</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01066" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions src/RpcNep5Tracker/RpcNep5Tracker.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>Neo.Plugins.RpcNep5Tracker</PackageId>
<RootNamespace>Neo.Plugins</RootNamespace>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 1 addition & 3 deletions src/RpcServer/RpcServer.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<PackageId>Neo.Plugins.RpcServer</PackageId>
<RootNamespace>Neo.Plugins</RootNamespace>
</PropertyGroup>

Expand All @@ -15,7 +14,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" />
<PackageReference Include="Neo" Version="3.0.0-CI01066" />
</ItemGroup>

</Project>
5 changes: 1 addition & 4 deletions src/StatesDumper/StatesDumper.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.0-preview3</Version>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Neo.Plugins</RootNamespace>
<PackageId>Neo.Plugins.StatesDumper</PackageId>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,7 +12,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Neo" Version="3.0.0-CI01066" />
<PackageReference Include="Neo.ConsoleService" Version="1.0.0" />
</ItemGroup>

Expand Down

0 comments on commit 85bd7c3

Please sign in to comment.