forked from DuendeSoftware/IdentityServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.targets
100 lines (85 loc) · 6.04 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<Project>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0'">
<FrameworkVersion>8.0.10</FrameworkVersion>
<ExtensionsVersion>8.0.1</ExtensionsVersion>
<EntityFrameworkVersion>8.0.10</EntityFrameworkVersion>
<WilsonVersion>7.1.2</WilsonVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net9.0'">
<FrameworkVersion>9.0.0-rc.2.24474.3</FrameworkVersion>
<ExtensionsVersion>9.0.0-rc.2.24473.5</ExtensionsVersion>
<EntityFrameworkVersion>9.0.0-rc.2.24474.1</EntityFrameworkVersion>
<WilsonVersion>8.0.1</WilsonVersion>
</PropertyGroup>
<ItemGroup>
<!--our stuff -->
<PackageReference Update="Duende.IdentityModel" Version="7.0.0"/>
<PackageReference Update="Duende.AccessTokenManagement" Version="2.1.0"/>
<PackageReference Update="Duende.AccessTokenManagement.OpenIdConnect" Version="2.1.0"/>
<!--build related-->
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="All"/>
<PackageReference Update="SimpleExec" Version="11.0.0"/>
<PackageReference Update="Bullseye" Version="4.2.1"/>
<!--tests -->
<PackageReference Update="FluentAssertions" Version="6.5.1"/>
<PackageReference Update="FluentAssertions.Web" Version="1.5.0"/>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
<PackageReference Update="xunit" Version="2.9.0"/>
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.4" PrivateAssets="All"/>
<!-- testing -->
<PackageReference Update="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(FrameworkVersion)" />
<PackageReference Update="AngleSharp" Version="1.1.2" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<!--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.JsonWebTokens" Version="$(WilsonVersion)"/>
<PackageReference Update="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="$(WilsonVersion)"/>
<PackageReference Update="System.IdentityModel.Tokens.Jwt" Version="$(WilsonVersion)"/>
<PackageReference Update="Serilog.AspNetCore" Version="8.0.2"/>
<!--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.8.1" />
<PackageReference Update="OpenTelemetry.Exporter.Console" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.9.0-alpha.1" />
<PackageReference Update="OpenTelemetry.Extensions.Hosting" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Instrumentation.AspNetCore" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Instrumentation.Http" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Instrumentation.SqlClient" Version="1.8.0-beta.1" />
<!-- Transitive Dependencies -->
<!-- These packages are all transitive dependencies that would
otherwise resolve to a version with a security vulnerabilitiy. In future, we
would like to update Microsoft.Data.SqlClient and
Microsoft.EntityFrameworkCore, and remove these explicit dependencies (assuming
that future versions of the intermediate dependencies that don't have this
problem exist someday). -->
<PackageReference Update="Azure.Identity" Version="1.11.4" />
<PackageReference Update="System.Formats.Asn1" Version="$(ExtensionsVersion)" />
<PackageReference Update="System.Drawing.Common" Version="6.0.0" />
<PackageReference Update="Microsoft.Data.SqlClient" Version="5.2.2" />
</ItemGroup>
<Target Name="SetAssemblyVersion" AfterTargets="MinVer">
<PropertyGroup>
<AssemblyVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).0</AssemblyVersion>
</PropertyGroup>
</Target>
</Project>