Skip to content

Commit 9ce1593

Browse files
committed
Small fixes and optimizations
1 parent 635d005 commit 9ce1593

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Unity.Microsoft.DependencyInjection.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
<RootNamespace>Unity.Microsoft.DependencyInjection</RootNamespace>
2020
<UnityAbstractions>..\..\Abstractions\src\Unity.Abstractions.csproj</UnityAbstractions>
2121
<UnityContainer>..\..\Container\src\Unity.Container.csproj</UnityContainer>
22-
<TargetFrameworks>netcoreapp1.1;netstandard2.0</TargetFrameworks>
2322
</PropertyGroup>
2423

2524

26-
27-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
28-
<!--TargetFramework>netstandard2.0</TargetFramework-->
25+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
26+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
27+
<TargetFramework>netstandard2.0</TargetFramework>
2928
</PropertyGroup>
30-
29+
3130
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
3231
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
32+
<TargetFrameworks>netcoreapp1.1;netstandard2.0</TargetFrameworks>
3333
</PropertyGroup>
3434

3535

@@ -43,8 +43,8 @@
4343

4444

4545
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' == 'netcoreapp1.1' ">
46-
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="1.1.*" />
47-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.*" />
46+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="[1.1.3]" />
47+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="[1.1.1]" />
4848
</ItemGroup>
4949

5050
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' == 'netstandard2.0' ">

tests/Microsoft.DependencyInjection.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp1.1;netcoreapp2.0</TargetFrameworks>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<RootNamespace>Unity.Microsoft.DependencyInjection.Tests</RootNamespace>
77
</PropertyGroup>
@@ -17,7 +17,7 @@
1717
</ItemGroup>
1818

1919
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' == 'netcoreapp1.1' ">
20-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="1.1.*" />
20+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="[1.1.1]" />
2121
</ItemGroup>
2222

2323
<ItemGroup Condition="'$(TargetFramework)' != '' AND '$(TargetFramework)' == 'netcoreapp2.0' ">

0 commit comments

Comments
 (0)