forked from DuendeSoftware/products
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.targets
78 lines (67 loc) · 4.66 KB
/
Directory.Build.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
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
76
77
78
<Project>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0'">
<FrameworkVersion>6.0.0</FrameworkVersion>
<ExtensionsVersion>6.0.0</ExtensionsVersion>
<EntityFrameworkVersion>6.0.0</EntityFrameworkVersion>
<WilsonVersion>6.10.0</WilsonVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net7.0'">
<FrameworkVersion>7.0.0</FrameworkVersion>
<ExtensionsVersion>7.0.0</ExtensionsVersion>
<EntityFrameworkVersion>7.0.0</EntityFrameworkVersion>
<WilsonVersion>6.15.1</WilsonVersion>
</PropertyGroup>
<ItemGroup>
<!--our stuff -->
<PackageReference Update="IdentityModel" Version="6.0.0"/>
<!--build related-->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="MinVer" Version="4.2.0" PrivateAssets="All"/>
<PackageReference Update="SimpleExec" Version="11.0.0"/>
<PackageReference Update="Bullseye" Version="4.2.0"/>
<!--tests -->
<PackageReference Update="FluentAssertions" Version="5.10.3"/>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.4.1"/>
<PackageReference Update="xunit" Version="2.4.1"/>
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.5" PrivateAssets="All"/>
<!--microsoft extensions -->
<PackageReference Update="Microsoft.Extensions.Caching.Memory" Version="$(ExtensionsVersion)"/>
<PackageReference Update="Microsoft.Extensions.Http" Version="$(ExtensionsVersion)"/>
<PackageReference Update="Microsoft.Extensions.Http.Polly" Version="$(ExtensionsVersion)"/>
<PackageReference Update="Microsoft.Extensions.Logging" Version="$(ExtensionsVersion)"/>
<PackageReference Update="Microsoft.Extensions.Logging.Console" Version="$(ExtensionsVersion)"/>
<PackageReference Update="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(ExtensionsVersion)"/>
<!--misc -->
<PackageReference Update="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="$(WilsonVersion)"/>
<PackageReference Update="System.IdentityModel.Tokens.Jwt" Version="$(WilsonVersion)"/>
<PackageReference Update="AutoMapper" Version="[12.0.0,13.0)"/>
<PackageReference Update="Serilog.AspNetCore" Version="6.0.0"/>
<!--microsoft asp.net core -->
<PackageReference Update="Microsoft.AspNetCore.DataProtection.Abstractions" Version="$(FrameworkVersion)"/>
<PackageReference Update="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="$(FrameworkVersion)"/>
<PackageReference Update="Microsoft.AspNetCore.TestHost" Version="$(FrameworkVersion)"/>
<PackageReference Update="Microsoft.AspNetCore.Identity" Version="$(FrameworkVersion)"/>
<PackageReference Update="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="$(FrameworkVersion)"/>
<PackageReference Update="Microsoft.AspNetCore.Authentication.Certificate" Version="$(FrameworkVersion)"/>
<PackageReference Update="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="$(FrameworkVersion)"/>
<!--microsoft entity framework -->
<PackageReference Update="Microsoft.EntityFrameworkCore.Relational" Version="$(EntityFrameworkVersion)"/>
<PackageReference Update="Microsoft.EntityFrameworkCore.Sqlite" Version="$(EntityFrameworkVersion)"/>
<PackageReference Update="Microsoft.EntityFrameworkCore.InMemory" Version="$(EntityFrameworkVersion)"/>
<PackageReference Update="Microsoft.EntityFrameworkCore.SqlServer" Version="$(EntityFrameworkVersion)"/>
<PackageReference Update="Microsoft.EntityFrameworkCore.Design" Version="$(EntityFrameworkVersion)" PrivateAssets="All"/>
<!-- open telemetry -->
<PackageReference Update="OpenTelemetry" Version="1.3.0" />
<PackageReference Update="OpenTelemetry.Exporter.Console" Version="1.3.0" />
<PackageReference Update="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.3.0" />
<PackageReference Update="OpenTelemetry.Extensions.Hosting" Version="1.0.0-rc9" />
<PackageReference Update="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc9" />
<PackageReference Update="OpenTelemetry.Instrumentation.Http" Version="1.0.0-rc9" />
<PackageReference Update="OpenTelemetry.Instrumentation.SqlClient" Version="1.0.0-rc9" />
</ItemGroup>
<Target Name="SetAssemblyVersion" AfterTargets="MinVer">
<PropertyGroup>
<AssemblyVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).0</AssemblyVersion>
</PropertyGroup>
</Target>
</Project>