Changed how projects are referenced
This commit is contained in:
Родитель
efc43bb893
Коммит
03a9e50ad7
|
@ -60,12 +60,17 @@
|
|||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||
<TargetFramework>net47</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'!='Release'">
|
||||
<ProjectReference Include="..\..\Abstractions\src\Unity.Abstractions.csproj" />
|
||||
<PropertyGroup>
|
||||
<UnityAbstractions>$(SolutionDir)\Abstractions\src\Unity.Abstractions.csproj</UnityAbstractions>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(UnityAbstractions)')">
|
||||
<ProjectReference Include="$(UnityAbstractions)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
|
||||
<PackageReference Include="Unity.Abstractions" Version="2.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
@ -28,15 +28,29 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\src\Unity.Configuration.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup Condition=" '$(Configuration)' != 'Release' ">
|
||||
<ProjectReference Include="..\..\Abstractions\src\Unity.Abstractions.csproj" />
|
||||
<ProjectReference Include="..\..\Container\src\Unity.Container.csproj" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<UnityAbstractions>$(SolutionDir)\Abstractions\src\Unity.Abstractions.csproj</UnityAbstractions>
|
||||
<UnityContainer>$(SolutionDir)\Container\src\Unity.Container.csproj</UnityContainer>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
|
||||
<ItemGroup Condition="Exists('$(UnityAbstractions)')">
|
||||
<ProjectReference Include="$(UnityAbstractions)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(UnityContainer)')">
|
||||
<ProjectReference Include="$(UnityContainer)" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
|
||||
<PackageReference Include="Unity.Abstractions" Version="2.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="!Exists('$(UnityContainer)')">
|
||||
<PackageReference Include="Unity.Container" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче