|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 |
| - <PropertyGroup> |
3 |
| - <IsWindows>$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::get_Windows())))</IsWindows> |
4 |
| - <TargetFrameworks Condition=" '$(IsWindows)' == 'true'">net6.0;net7.0;net8.0;net481</TargetFrameworks> |
5 |
| - <TargetFrameworks Condition=" '$(IsWindows)' != 'true'">net6.0;net7.0;net8.0</TargetFrameworks> |
6 |
| - <ImplicitUsings>enable</ImplicitUsings> |
7 |
| - <Nullable>enable</Nullable> |
8 |
| - <LangVersion>latest</LangVersion> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFrameworks Condition=" '$(IsWindows)' == 'true'">$(TargetFrameworks);net481</TargetFrameworks> |
| 4 | + <IsPackable>false</IsPackable> |
| 5 | + </PropertyGroup> |
9 | 6 |
|
10 |
| - <IsPackable>false</IsPackable> |
11 |
| - </PropertyGroup> |
| 7 | + <ItemGroup> |
| 8 | + <PackageReference Include="coverlet.collector"> |
| 9 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 10 | + <PrivateAssets>all</PrivateAssets> |
| 11 | + </PackageReference> |
| 12 | + <PackageReference Include="coverlet.msbuild"> |
| 13 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 14 | + <PrivateAssets>all</PrivateAssets> |
| 15 | + </PackageReference> |
| 16 | + <PackageReference Include="dotenv.net"/> |
| 17 | + <PackageReference Include="Microsoft.NET.Test.Sdk"/> |
| 18 | + <PackageReference Include="GitHubActionsTestLogger"> |
| 19 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 20 | + <PrivateAssets>all</PrivateAssets> |
| 21 | + </PackageReference> |
| 22 | + <PackageReference Include="NetTopologySuite"/> |
| 23 | + <PackageReference Include="Validation"/> |
| 24 | + <PackageReference Include="xunit.runner.visualstudio"/> |
| 25 | + <PackageReference Include="StackExchange.Redis"/> |
| 26 | + <PackageReference Include="xunit"/> |
| 27 | + <PackageReference Include="xunit.assert"/> |
| 28 | + <PackageReference Include="BouncyCastle.Cryptography"/> |
| 29 | + <PackageReference Include="Microsoft.Azure.StackExchangeRedis"/> |
| 30 | + <PackageReference Include="Xunit.SkippableFact"/> |
| 31 | + </ItemGroup> |
12 | 32 |
|
13 |
| - <ItemGroup> |
14 |
| - <PackageReference Include="coverlet.collector" Version="6.0.4"> |
15 |
| - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
16 |
| - <PrivateAssets>all</PrivateAssets> |
17 |
| - </PackageReference> |
18 |
| - <PackageReference Include="coverlet.msbuild" Version="6.0.4"> |
19 |
| - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
20 |
| - <PrivateAssets>all</PrivateAssets> |
21 |
| - </PackageReference> |
22 |
| - <PackageReference Include="dotenv.net" Version="3.2.1" /> |
23 |
| - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> |
24 |
| - <PackageReference Include="GitHubActionsTestLogger" Version="2.4.1"> |
25 |
| - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
26 |
| - <PrivateAssets>all</PrivateAssets> |
27 |
| - </PackageReference> |
28 |
| - <PackageReference Include="NetTopologySuite" Version="2.5.0" /> |
29 |
| - <PackageReference Include="Validation" Version="2.6.68" /> |
30 |
| - <PackageReference Include="xunit.runner.visualstudio" Version="3.0.2" /> |
31 |
| - <PackageReference Include="StackExchange.Redis" Version="2.8.24" /> |
32 |
| - <PackageReference Include="xunit" Version="2.9.3" /> |
33 |
| - <PackageReference Include="xunit.assert" Version="2.9.3" /> |
34 |
| - <PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" /> |
35 |
| - <PackageReference Include="Microsoft.Azure.StackExchangeRedis" Version="3.1.0" /> |
36 |
| - <PackageReference Include="Xunit.SkippableFact" Version="1.5.23" /> |
37 |
| - </ItemGroup> |
| 33 | + <ItemGroup> |
| 34 | + <ProjectReference Include="..\..\src\NRedisStack\NRedisStack.csproj"/> |
| 35 | + </ItemGroup> |
38 | 36 |
|
39 |
| - <ItemGroup> |
40 |
| - <ProjectReference Include="..\..\src\NRedisStack\NRedisStack.csproj" /> |
41 |
| - </ItemGroup> |
| 37 | + <ItemGroup> |
| 38 | + <None Update="xunit.runner.json"> |
| 39 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 40 | + </None> |
| 41 | + </ItemGroup> |
42 | 42 |
|
43 |
| - <ItemGroup> |
44 |
| - <None Update="xunit.runner.json"> |
45 |
| - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
46 |
| - </None> |
47 |
| - </ItemGroup> |
48 |
| - |
49 |
| - <ItemGroup> |
50 |
| - <None Include="..\dockers\endpoints.json"> |
51 |
| - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
52 |
| - </None> |
53 |
| - </ItemGroup> |
| 43 | + <ItemGroup> |
| 44 | + <None Include="..\dockers\endpoints.json"> |
| 45 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 46 | + </None> |
| 47 | + </ItemGroup> |
54 | 48 |
|
55 | 49 | </Project>
|
0 commit comments