|
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <Version>1.0.0</Version> |
5 | | - <AssemblyVersion>1.0.0.0</AssemblyVersion> |
6 | | - <FileVersion>1.0.0.0</FileVersion> |
| 5 | + <PackageReleaseNotes>This package is distributed as .NET Standard 1.0 and .NET Framework 4.7 package.</PackageReleaseNotes> |
| 6 | + <UnityAbstractionsVersion>2.1.0</UnityAbstractionsVersion> |
| 7 | + <UnityContainerVersion>5.1.0</UnityContainerVersion> |
| 8 | + </PropertyGroup> |
| 9 | + |
| 10 | + <PropertyGroup> |
| 11 | + <FileVersion>$(Version).0</FileVersion> |
| 12 | + <AssemblyVersion>$(Version).0</AssemblyVersion> |
7 | 13 | <PackageId>Unity.DependencyInjection</PackageId> |
8 | 14 | <Description>Unity for Microsoft Dependency Injection framework.</Description> |
9 | 15 | <Copyright>Copyright © Microsoft.Practices.Unity 2017</Copyright> |
|
12 | 18 | <PackageLicenseUrl>https://github.com/unitycontainer/microsoft-dependency-injection/blob/master/LICENSE</PackageLicenseUrl> |
13 | 19 | <PackageIconUrl>https://avatars1.githubusercontent.com/u/12849707</PackageIconUrl> |
14 | 20 | <RepositoryType>git</RepositoryType> |
15 | | - <PackageReleaseNotes>This package is distributed as .NET Standard 1.0 and .NET Framework 4.7 package.</PackageReleaseNotes> |
16 | 21 | <Authors>Microsoft.Practices.Unity</Authors> |
17 | 22 | <Company>Microsoft.Practices.Unity</Company> |
18 | 23 | <RootNamespace>Unity.DependencyInjection</RootNamespace> |
| 24 | + <UnityAbstractions>..\..\Abstractions\src\Unity.Abstractions.csproj</UnityAbstractions> |
| 25 | + <UnityContainer>..\..\Container\src\Unity.Container.csproj</UnityContainer> |
19 | 26 | </PropertyGroup> |
20 | 27 |
|
21 | 28 | <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
|
28 | 35 | <GeneratePackageOnBuild>false</GeneratePackageOnBuild> |
29 | 36 | <DebugType>Full</DebugType> |
30 | 37 | </PropertyGroup> |
| 38 | + |
| 39 | + |
| 40 | + <ItemGroup Condition="Exists('$(UnityAbstractions)')"> |
| 41 | + <ProjectReference Include="$(UnityAbstractions)" /> |
| 42 | + </ItemGroup> |
| 43 | + |
| 44 | + <ItemGroup Condition="Exists('$(UnityContainer)')"> |
| 45 | + <ProjectReference Include="$(UnityContainer)" /> |
| 46 | + </ItemGroup> |
| 47 | + |
31 | 48 |
|
32 | 49 | <ItemGroup> |
33 | | - <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.1" /> |
34 | | - <PackageReference Include="Unity" Version="5.0.2" /> |
| 50 | + <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.1" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <ItemGroup Condition="!Exists('$(UnityAbstractions)')"> |
| 54 | + <PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" /> |
| 55 | + </ItemGroup> |
| 56 | + |
| 57 | + <ItemGroup Condition="!Exists('$(UnityContainer)')"> |
| 58 | + <PackageReference Include="Unity.Container" Version="$(UnityContainerVersion)" /> |
35 | 59 | </ItemGroup> |
36 | 60 |
|
37 | 61 | </Project> |
0 commit comments