-
Notifications
You must be signed in to change notification settings - Fork 1
/
Container.Version.6.0.x.csproj
50 lines (38 loc) · 1.77 KB
/
Container.Version.6.0.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
<Project Sdk="Microsoft.NET.Sdk">
<!-- Unity v6 -->
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<UnityContainer>..\Container\src\Unity.Container.csproj</UnityContainer>
<DefineConstants>UNITY_V6;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Condition="Exists('$(UnityContainer)') " Include="$(UnityContainer)" />
<PackageReference Condition="!Exists('$(UnityContainer)')" Include="Unity.Container" Version="6.0.*-*" />
</ItemGroup>
<!-- Configuration Settings -->
<PropertyGroup>
<DefineConstants Condition="'$(Configuration)'=='v6'">$(DefineConstants);BEHAVIOR_V6</DefineConstants>
<DefineConstants Condition="'$(Configuration)'=='Release'">$(DefineConstants);BEHAVIOR_V6</DefineConstants>
<DefineConstants Condition="'$(Configuration)'=='Debug'">$(DefineConstants);BEHAVIOR_V6</DefineConstants>
</PropertyGroup>
<!-- v6 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>