|
2 | 2 | <Import Project="..\..\build\common.props" /> |
3 | 3 | <Import Project="..\..\build\python.props" /> |
4 | 4 | <PropertyGroup> |
5 | | - <TargetFrameworks>net6.0;net8.0</TargetFrameworks> |
| 5 | + <TargetFrameworks>net8.0;net6.0</TargetFrameworks> |
6 | 6 | <AssemblyName>Microsoft.Azure.WebJobs.Script.WebHost</AssemblyName> |
7 | 7 | <RootNamespace>Microsoft.Azure.WebJobs.Script.WebHost</RootNamespace> |
8 | 8 | <PackageId>Microsoft.Azure.WebJobs.Script.WebHost</PackageId> |
9 | 9 | <IsPackable Condition="'$(IsPackable)' != ''">true</IsPackable> |
10 | 10 | <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> |
11 | 11 | <TieredCompilation>false</TieredCompilation> |
12 | 12 | <NoWarn>NU5104</NoWarn> |
13 | | - <IdentityDependencyVersion>6.35.0</IdentityDependencyVersion> |
| 13 | + <IdentityDependencyVersion Condition="'$(TargetFramework)' == 'net6.0'">6.35.0</IdentityDependencyVersion> |
| 14 | + <IdentityDependencyVersion Condition="'$(TargetFramework)' == 'net8.0'">7.1.2</IdentityDependencyVersion> |
14 | 15 | </PropertyGroup> |
15 | 16 | <PropertyGroup Condition="'$(RuntimeIdentifier)' != ''"> |
16 | 17 | <PublishReadyToRun>true</PublishReadyToRun> |
|
70 | 71 | <PackageReference Include="Microsoft.ApplicationInsights.WindowsServer" Version="2.21.0" /> |
71 | 72 | <PackageReference Include="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" Version="2.21.0" /> |
72 | 73 | <PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.8" /> |
73 | | - <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" /> |
74 | | - <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" /> |
75 | 74 | <PackageReference Include="Microsoft.Azure.AppService.Middleware.Functions" Version="1.5.4" /> |
76 | 75 | <PackageReference Include="Microsoft.Azure.AppService.Proxy.Client" Version="2.3.20240307.67" /> |
77 | 76 | <PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.8" /> |
|
81 | 80 | <PackageReference Include="Microsoft.Azure.WebJobs.Host.Storage" Version="5.0.0-beta.2-11957" /> |
82 | 81 | <PackageReference Include="Microsoft.Azure.WebSites.DataProtection" Version="2.1.91-alpha" /> |
83 | 82 | <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="$(IdentityDependencyVersion)" /> |
84 | | - <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="$(IdentityDependencyVersion)" /> |
85 | 83 | <PackageReference Include="Microsoft.Security.Utilities" Version="1.3.0" /> |
86 | 84 | <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> |
87 | 85 | <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" /> |
88 | 86 | <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="$(IdentityDependencyVersion)" /> |
| 87 | + <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="$(IdentityDependencyVersion)" /> |
| 88 | + |
89 | 89 |
|
90 | 90 | <!-- |
91 | 91 | System.IO.FileSystem.AccessControl/5.0.0 pinned to avoid an unintented downgrade to 4.7.0. |
|
98 | 98 | <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> |
99 | 99 | </ItemGroup> |
100 | 100 |
|
| 101 | + <!----> |
| 102 | + <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'"> |
| 103 | + <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.29" /> |
| 104 | + <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.29" /> |
| 105 | + </ItemGroup> |
| 106 | + |
| 107 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> |
| 108 | + <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.4" /> |
| 109 | + <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.4" /> |
| 110 | + </ItemGroup> |
| 111 | + |
101 | 112 | <ItemGroup> |
102 | 113 | <EmbeddedResource Include="Home.html" /> |
103 | 114 | <EmbeddedResource Include="Resources\app_offline.htm" /> |
|
0 commit comments