-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommon.Configurations.targets
45 lines (36 loc) · 1.79 KB
/
Common.Configurations.targets
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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>LT.DigitalOffice.$(MSBuildProjectName)</AssemblyName>
<RootNamespace>LT.DigitalOffice.$(MSBuildProjectName)</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<DefineConstants>RELEASE;TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="$(AssemblyName.Contains('.UnitTests')) != 'true'">
<PackageReference Include="DigitalOffice.Kernel" Version="1.0.5" />
<PackageReference Include="DigitalOffice.Kernel.RedisSupport" Version="1.0.3" />
<PackageReference Include="DigitalOffice.Kernel.BrokerSupport" Version="1.0.0" />
<PackageReference Include="DigitalOffice.Kernel.EFSupport" Version="1.0.0" />
<PackageReference Include="DigitalOffice.Models" Version="1.0.10" />
</ItemGroup>
<ItemGroup Condition="($(AssemblyName.Contains('.Provider')) Or $(AssemblyName.Contains('.Models.Db'))) And $(AssemblyName.Contains('.UnitTests')) != 'true'">
</ItemGroup>
<PropertyGroup Condition="$(AssemblyName.Contains('.UnitTests'))">
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup Condition="$(AssemblyName.Contains('.UnitTests'))">
<PackageReference Include="LT.DigitalOffice.UnitTestKernel" Version="1.0.4" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>
</Project>