-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathContainer.Version.5.11.x.csproj
55 lines (42 loc) · 1.94 KB
/
Container.Version.5.11.x.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<Project Sdk="Microsoft.NET.Sdk">
<!-- Unity v5 -->
<PropertyGroup>
<TargetFramework Condition=" '$(TargetFramework)' == '' ">net6.0</TargetFramework>
<UnityContainer>..\Container\src\Unity.Container.csproj</UnityContainer>
<DefineConstants>UNITY_V5;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Condition="Exists('$(UnityContainer)') " Include="$(UnityContainer)" />
<PackageReference Condition="!Exists('$(UnityContainer)')" Include="Unity.Container" Version="5.11.*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" />
</ItemGroup>
<!-- Configuration Settings -->
<PropertyGroup>
<DefineConstants Condition="'$(Configuration)'=='v5'">$(DefineConstants);BEHAVIOR_V5</DefineConstants>
<DefineConstants Condition="'$(Configuration)'=='Release'">$(DefineConstants);BEHAVIOR_V5</DefineConstants>
</PropertyGroup>
<!-- v5 Exclusions -->
<ItemGroup>
<Compile Remove="**\*.v4.cs" />
<Compile Remove="**\*.v8.cs" />
<Compile Remove="Patterns\Abstractions\Resolvers\ValidatingResolverFactory.cs" />
<Compile Remove="Patterns\Abstractions\Resolvers\ValidatintResolver.cs" />
<Compile Remove="Patterns\Dependency\DefaultAttribute.cs" />
<Compile Remove="Patterns\Lifetime\LifetimeManager.cs" />
<Compile Remove="Registration\Validation\Factory.cs" />
<Compile Remove="Registration\BuiltIn\IServiceProvider.cs" />
<Compile Remove="Registration\BuiltIn\IUnityContainerAsync.cs" />
<Compile Remove="Registration\Validation\Factory.cs" />
</ItemGroup>
<ItemGroup>
<Using Remove="System.Net.Http" />
<None Remove=".git" />
<None Remove=".gitignore" />
<None Remove="*.slnf" />
<None Remove="*.props" />
</ItemGroup>
</Project>