Skip to content

Commit

Permalink
build target netstandard2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Aug 2, 2024
1 parent f47f4f3 commit 68e4006
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 48 deletions.
42 changes: 0 additions & 42 deletions Libplanet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Libplanet.Crypto", "src\Lib
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Libplanet.Types", "src\Libplanet.Types\Libplanet.Types.csproj", "{C7EFF544-391C-488F-A747-2663AFEED250}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Libplanet.Store.Remote", "src\Libplanet.Store.Remote\Libplanet.Store.Remote.csproj", "{CF31204A-12CF-43C0-9054-B9AF98EC83BD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Libplanet.Store.Remote.Tests", "test\Libplanet.Store.Remote.Tests\Libplanet.Store.Remote.Tests.csproj", "{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Libplanet.Mocks", "test\Libplanet.Mocks\Libplanet.Mocks.csproj", "{46C1A70D-D1DE-4173-A8C0-00F680F026E3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AC908E33-B856-4E23-9F81-B7F7C97A07F9}"
Expand Down Expand Up @@ -559,42 +555,6 @@ Global
{C7EFF544-391C-488F-A747-2663AFEED250}.ReleaseMono|x64.Build.0 = Release|Any CPU
{C7EFF544-391C-488F-A747-2663AFEED250}.ReleaseMono|x86.ActiveCfg = Release|Any CPU
{C7EFF544-391C-488F-A747-2663AFEED250}.ReleaseMono|x86.Build.0 = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Debug|x64.ActiveCfg = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Debug|x64.Build.0 = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Debug|x86.ActiveCfg = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Debug|x86.Build.0 = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Release|Any CPU.Build.0 = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Release|x64.ActiveCfg = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Release|x64.Build.0 = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Release|x86.ActiveCfg = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.Release|x86.Build.0 = Release|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.ReleaseMono|Any CPU.ActiveCfg = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.ReleaseMono|Any CPU.Build.0 = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.ReleaseMono|x64.ActiveCfg = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.ReleaseMono|x64.Build.0 = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.ReleaseMono|x86.ActiveCfg = Debug|Any CPU
{CF31204A-12CF-43C0-9054-B9AF98EC83BD}.ReleaseMono|x86.Build.0 = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Debug|x64.ActiveCfg = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Debug|x64.Build.0 = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Debug|x86.ActiveCfg = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Debug|x86.Build.0 = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Release|Any CPU.Build.0 = Release|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Release|x64.ActiveCfg = Release|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Release|x64.Build.0 = Release|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Release|x86.ActiveCfg = Release|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.Release|x86.Build.0 = Release|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.ReleaseMono|Any CPU.ActiveCfg = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.ReleaseMono|Any CPU.Build.0 = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.ReleaseMono|x64.ActiveCfg = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.ReleaseMono|x64.Build.0 = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.ReleaseMono|x86.ActiveCfg = Debug|Any CPU
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6}.ReleaseMono|x86.Build.0 = Debug|Any CPU
{46C1A70D-D1DE-4173-A8C0-00F680F026E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{46C1A70D-D1DE-4173-A8C0-00F680F026E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{46C1A70D-D1DE-4173-A8C0-00F680F026E3}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand Down Expand Up @@ -645,8 +605,6 @@ Global
{5B2BF317-7315-431F-A854-488CD541F42E} = {B9C00FAF-36CF-463A-83FA-43E6B974AE2E}
{896946A7-35AB-40D0-972C-CED7A448B97A} = {AC908E33-B856-4E23-9F81-B7F7C97A07F9}
{C7EFF544-391C-488F-A747-2663AFEED250} = {AC908E33-B856-4E23-9F81-B7F7C97A07F9}
{CF31204A-12CF-43C0-9054-B9AF98EC83BD} = {AC908E33-B856-4E23-9F81-B7F7C97A07F9}
{97F29346-636E-4BCA-B33D-6D0DB26A5AA6} = {B9C00FAF-36CF-463A-83FA-43E6B974AE2E}
{46C1A70D-D1DE-4173-A8C0-00F680F026E3} = {B9C00FAF-36CF-463A-83FA-43E6B974AE2E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Action/Libplanet.Action.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.*" />
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Common/Libplanet.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.*" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<LangVersion>10</LangVersion>
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Crypto/Libplanet.Crypto.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.*" />
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Net/Libplanet.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<Title>P2P implementation for Libplanet</Title>
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.RocksDBStore/Libplanet.RocksDBStore.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<Summary>A Libplanet.IStore implementation using RocksDB</Summary>
Expand Down
5 changes: 4 additions & 1 deletion src/Libplanet.Store.Remote/Libplanet.Store.Remote.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks Condition="'$(_IsPacking)'=='true'">net6.0</TargetFrameworks>
Expand All @@ -7,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Grpc.AspNetCore" Version="2.61.0" />
<PackageReference Include="Grpc" Version="2.46.0" />
<PackageReference Remove="StyleCop.Analyzers" />
</ItemGroup>

Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Store/Libplanet.Store.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<NoWarn>$(NoWarn);NU1904</NoWarn>
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Stun/Libplanet.Stun.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<Summary>A STUN/TURN client implementation for Libplanet.</Summary>
Expand Down
3 changes: 3 additions & 0 deletions src/Libplanet.Types/Libplanet.Types.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<NoWarn>$(NoWarn);SA1012</NoWarn>
Expand Down
4 changes: 4 additions & 0 deletions src/Libplanet/Libplanet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ https://docs.libplanet.io/</Description>
<!-- FIXME: NU1902 should be removed once BouncyCastle is bumped to a secure version -->
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.*" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,4 @@
<PackageReference Remove="SonarAnalyzer.CSharp" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Libplanet.Store.Remote\Libplanet.Store.Remote.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public LibplanetExplorerSchema(IServiceProvider serviceProvider)
: base(serviceProvider)
{
Query = serviceProvider.GetRequiredService<ExplorerQuery>();
Mutation = serviceProvider.GetRequiredService<ExplorerMutation>();
}
}
}

0 comments on commit 68e4006

Please sign in to comment.