Skip to content

Commit

Permalink
Added a new configuration to the Nethereum.Generators that is compati…
Browse files Browse the repository at this point in the history
…ble with Unity.
  • Loading branch information
dimonkov committed Mar 2, 2019
1 parent 32375d2 commit 06ad233
Show file tree
Hide file tree
Showing 19 changed files with 673 additions and 337 deletions.
330 changes: 330 additions & 0 deletions Nethereum.Generators.sln

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions projects/Nethereum.Portable/Nethereum.Portable.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Portable-Release|AnyCPU'">
<OutputPath>bin\Portable-Release\</OutputPath>
<DefineConstants>TRACE;PCL</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Portable-Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Portable-Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;PCL</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
<None Include="project.json" />
Expand Down Expand Up @@ -147,7 +165,7 @@
<Compile Include="..\..\src\Nethereum.ABI\Decoders\ITypeDecoder.cs">
<Link>ABI\Decoders\ITypeDecoder.cs</Link>
</Compile>
<Compile Include="..\..\src\Nethereum.ABI\Decoders\IRawDecoder.cs">
<Compile Include="..\..\src\Nethereum.ABI\Decoders\IRawDecoder.cs">
<Link>ABI\Decoders\IRawDecoder.cs</Link>
</Compile>
<Compile Include="..\..\src\Nethereum.ABI\Decoders\StringTypeDecoder.cs">
Expand Down Expand Up @@ -1212,18 +1230,14 @@
<Compile Include="..\..\src\Nethereum.Accounts\Managed\ManagedAccountTransactionManager.cs">
<Link>Accounts\Managed\ManagedAccountTransactionManager.cs</Link>
</Compile>
<Compile Include="..\..\src\Nethereum.HDWallet\Wallet.cs">
<Compile Include="..\..\src\Nethereum.HDWallet\Wallet.cs">
<Link>HDWallet\Wallet.cs</Link>
</Compile>
<Compile Include="..\..\src\Nethereum.HDWallet\SecureRandom.cs">
<Compile Include="..\..\src\Nethereum.HDWallet\SecureRandom.cs">
<Link>HDWallet\SecureRandom.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Experimental\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Net" />
<Reference Include="System.Net.Http" />
Expand Down
1 change: 1 addition & 0 deletions src/Nethereum.ABI.Autogen/Nethereum.ABI.Autogen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<NuspecFile>nuget\Nethereum.ABI.Autogen.nuspec</NuspecFile>
<StartupObject></StartupObject>
<ApplicationIcon />
<Configurations>Debug;Release;Portable-Release;Portable-Debug</Configurations>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFramework>netcoreapp2.1</TargetFramework>

<IsPackable>false</IsPackable>

<Configurations>Debug;Release;Portable-Release;Portable-Debug</Configurations>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64;portable</RuntimeIdentifiers>
<PackAsTool>true</PackAsTool>
<PackageId>Nethereum.Generator.Console</PackageId>
<Configurations>Debug;Release;Portable-Release;Portable-Debug</Configurations>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@
<WarningLevel>4</WarningLevel>
<Externalconsole>true</Externalconsole>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Portable-Release|AnyCPU'">
<OutputPath>bin\Portable-Release\</OutputPath>
<Optimize>true</Optimize>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Portable-Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Portable-Debug\</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\buildConf\Generic-CodeGen.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Configurations>Debug;Release;Portable-Release;Portable-Debug</Configurations>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;NETSTANDARD2_0;ENSURE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Portable-Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;NETSTANDARD2_0;ENSURE</DefineConstants>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.4.1" />
<PackageReference Include="Genesis.Ensure" Version="2.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net461</TargetFramework>
<Configurations>Debug;Release;Portable-Release;Portable-Debug</Configurations>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Title>Nethereum.Generators.Desktop</Title>
<Copyright>Copyright © 2018</Copyright>
<Description>Description of Nethereum.Generators.Desktop</Description>
<Configurations>Debug;Release;Portable-Release;Portable-Debug</Configurations>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 06ad233

Please sign in to comment.