-
Notifications
You must be signed in to change notification settings - Fork 80
/
Cqrs.Azure.ServiceBus.Tests.Unit.csproj
75 lines (62 loc) · 2.95 KB
/
Cqrs.Azure.ServiceBus.Tests.Unit.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<Authors>Chinchilla Software</Authors>
<Company>Chinchilla Software</Company>
<Copyright>Copyright © 2022</Copyright>
<PackageLicenseFile></PackageLicenseFile>
<PackageProjectUrl>https://github.com/Chinchilla-Software-Com/CQRS</PackageProjectUrl>
<RepositoryUrl>https://github.com/Chinchilla-Software-Com/CQRS</RepositoryUrl>
</PropertyGroup>
<PropertyGroup>
<OutputType>library</OutputType>
<TargetFrameworks>net6.0;net472</TargetFrameworks>
<DocumentationFile>Cqrs.Azure.ServiceBus.Tests.Unit.xml</DocumentationFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
</ItemGroup>
<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="Cqrs.Azure.ServiceBus.Tests.Unit.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.Azure.ServiceBus" Version="4.1.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<PackageReference Include="Microsoft.Azure.ServiceBus" Version="5.2.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
<PackageReference Include="WindowsAzure.ServiceBus" Version="6.2.2" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Cqrs\Cqrs.csproj" />
<ProjectReference Include="..\..\Cqrs.Azure.ConfigurationManager\Cqrs.Azure.ConfigurationManager.csproj" />
<ProjectReference Include="..\..\Cqrs.Azure.KeyVault\Cqrs.Azure.KeyVault.csproj" />
<ProjectReference Include="..\..\Cqrs.Azure.ServiceBus\Cqrs.Azure.ServiceBus.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="cqrs.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="IF NOT EXIST "$(ProjectDir)cqrs.json" ECHO ^{ "Cqrs": ^{ "Secrets": ^{ "TestKey": "TestKey" ^} ^} ^} > "$(ProjectDir)cqrs.json"
" />
</Target>
</Project>