Skip to content

Commit a2a6530

Browse files
committed
Updated frameworks
1 parent 4fe98b3 commit a2a6530

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

src/Unity.Microsoft.DependencyInjection.csproj

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
3131
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
32-
<TargetFramework>netstandard2.0</TargetFramework>
32+
<TargetFrameworks>netstandard1.0;netstandard2.0</TargetFrameworks>
3333
</PropertyGroup>
3434

3535

@@ -42,11 +42,17 @@
4242
</ItemGroup>
4343

4444

45-
<ItemGroup>
46-
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.0.1" />
45+
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' != 'netstandard1.0' ">
46+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="1.1.*" />
47+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.*" />
48+
</ItemGroup>
49+
50+
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' != 'netstandard2.0' ">
51+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.0.*" />
4752
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.0.*" />
4853
</ItemGroup>
4954

55+
5056
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
5157
<PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" />
5258
</ItemGroup>
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.0</TargetFramework>
4+
<TargetFrameworks>netcoreapp1.1;netcoreapp2.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<RootNamespace>Unity.Microsoft.DependencyInjection.Tests</RootNamespace>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="2.0.0" />
1110
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
1211
<PackageReference Include="xunit" Version="2.3.1" />
1312
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
@@ -17,4 +16,12 @@
1716
<ProjectReference Include="..\src\Unity.Microsoft.DependencyInjection.csproj" />
1817
</ItemGroup>
1918

19+
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' != 'netstandard1.0' ">
20+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="1.1.*" />
21+
</ItemGroup>
22+
23+
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' != 'netstandard2.0' ">
24+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="2.0.*" />
25+
</ItemGroup>
26+
2027
</Project>

0 commit comments

Comments
 (0)