Skip to content

Commit

Permalink
Vary package dependencies in Ninject adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovan Crone committed Apr 16, 2018
1 parent 770d936 commit bef164e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/REstate.IoC.Ninject/REstate.IoC.Ninject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@
<PackageIconUrl>https://github.com/psibr/REstate/blob/master/assets/icons/REstate-64.png?raw=true</PackageIconUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ninject" Version="3.3.4" />
<!-- Packages that are specific to .NET Standard 2.0 -->
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Ninject" Version="[3.3.0,)" />
</ItemGroup>

<!-- Packages that are specific to .NET 4.5 -->
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="Ninject" Version="[3.2.0,)" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit bef164e

Please sign in to comment.