Skip to content

Commit

Permalink
Add netstandard1.6 tfm to DocumentDb integration
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 authored and phatboyg committed Jun 18, 2017
1 parent c5b716f commit ae12238
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ public DocumentDbConcurrencyException(string message, Exception inner)
: base(message, inner)
{
}

#if !NETCORE
public DocumentDbConcurrencyException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
#endif
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452</TargetFrameworks>
<TargetFrameworks>netstandard1.6;net452</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\MassTransit.snk</AssemblyOriginatorKeyFile>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand All @@ -9,16 +9,24 @@
<PropertyGroup>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\MassTransit.DocumentDbIntegration.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.6' ">
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GreenPipes" Version="1.0.10" />
<PackageReference Include="Microsoft.Azure.DocumentDB" Version="1.14.1" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.2" />
<ProjectReference Include="..\..\MassTransit\MassTransit.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net452'">
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<ProjectReference Include="..\..\MassTransit\MassTransit.csproj" />
<PackageReference Include="Microsoft.Azure.DocumentDB" Version="1.14.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.6'">
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="1.3.2" />
</ItemGroup>
</Project>

0 comments on commit ae12238

Please sign in to comment.