1
+ <Project >
2
+
3
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0'" >
4
+ <FrameworkVersionRuntime >6.0.0</FrameworkVersionRuntime >
5
+ <FrameworkVersionTesting >6.0.0</FrameworkVersionTesting >
6
+ <YarpVersion >1.0.1</YarpVersion >
7
+ </PropertyGroup >
8
+
9
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net7.0'" >
10
+ <FrameworkVersionRuntime >7.0.0-rc.2.*</FrameworkVersionRuntime >
11
+ <FrameworkVersionTesting >7.0.0-rc.2.*</FrameworkVersionTesting >
12
+ <YarpVersion >1.0.1</YarpVersion >
13
+ </PropertyGroup >
14
+
15
+ <ItemGroup >
16
+ <!-- build -->
17
+ <PackageReference Include =" MinVer" Version =" 4.2.0" PrivateAssets =" all" />
18
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" PrivateAssets =" All" />
19
+
20
+ <!-- runtime -->
21
+ <PackageReference Update =" Duende.AccessTokenManagement.OpenIdConnect" Version =" 1.0.0" />
22
+ <PackageReference Update =" Microsoft.EntityFrameworkCore.Relational" Version =" $(FrameworkVersionRuntime)" />
23
+ <PackageReference Update =" Yarp.ReverseProxy" Version =" $(YarpVersion)" />
24
+
25
+ <!-- testing -->
26
+ <PackageReference Update =" Microsoft.EntityFrameworkCore.InMemory" Version =" $(FrameworkVersionTesting)" />
27
+ <PackageReference Update =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" $(FrameworkVersionTesting)" />
28
+ <PackageReference Update =" Microsoft.AspNetCore.TestHost" Version =" $(FrameworkVersionTesting)" />
29
+
30
+ <PackageReference Update =" Duende.IdentityServer" Version =" 6.1.5" />
31
+
32
+ <PackageReference Update =" CsQuery.NETStandard" Version =" 1.3.6.1" />
33
+ <PackageReference Update =" Microsoft.NET.Test.Sdk" Version =" 17.3.1" />
34
+ <PackageReference Update =" xunit" Version =" 2.4.2" />
35
+ <PackageReference Update =" xunit.runner.visualstudio" Version =" 2.4.5" >
36
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
37
+ <PrivateAssets >all</PrivateAssets >
38
+ </PackageReference >
39
+ <PackageReference Update =" FluentAssertions" Version =" 6.7.0" />
40
+ <PackageReference Update =" coverlet.collector" Version =" 3.1.2" >
41
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
42
+ <PrivateAssets >all</PrivateAssets >
43
+ </PackageReference >
44
+ </ItemGroup >
45
+
46
+ <Target Name =" SetAssemblyVersion" AfterTargets =" MinVer" >
47
+ <PropertyGroup >
48
+ <AssemblyVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).0</AssemblyVersion >
49
+ </PropertyGroup >
50
+ </Target >
51
+ </Project >
0 commit comments