Skip to content

Commit 615cb30

Browse files
authored
Remove support for .NET 6.0 and Update Azure.Identity to 1.17.0 (#3252)
1 parent 1fef0e4 commit 615cb30

File tree

10 files changed

+16
-7
lines changed

10 files changed

+16
-7
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99
<!-- Product dependencies -->
1010
<ItemGroup>
11-
<PackageVersion Include="Azure.Identity" Version="1.12.1" />
11+
<PackageVersion Include="Azure.Identity" Version="1.17.0" />
1212
<PackageVersion Include="Grpc.Tools" Version="2.49.0" />
1313
<PackageVersion Include="Grpc.Net.Client" Version="2.70.0" />
1414
<PackageVersion Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.3.0" />

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.121",
3+
"version": "8.0.416",
44
"rollForward": "latestFeature"
55
},
66
"msbuild-sdks": {

src/WebJobs.Extensions.DurableTask/Bindings/OrchestrationTriggerAttributeBindingProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
using Newtonsoft.Json;
1414
using Newtonsoft.Json.Linq;
1515
using static Microsoft.Azure.WebJobs.Extensions.DurableTask.OutOfProcOrchestrationShim;
16+
#pragma warning disable CS8981 // The type name only contains lower-cased ascii characters
1617
using proto = Google.Protobuf.WellKnownTypes;
18+
#pragma warning restore CS8981
1719

1820
namespace Microsoft.Azure.WebJobs.Extensions.DurableTask
1921
{

src/WebJobs.Extensions.DurableTask/EntityScheduler/EntitySchedulerException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ public EntitySchedulerException(string errorMessage, Exception innerException)
3434
/// </summary>
3535
/// <param name="info">The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.</param>
3636
/// <param name="context">The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.</param>
37+
#pragma warning disable SYSLIB0051 // Type or member is obsolete
3738
protected EntitySchedulerException(SerializationInfo info, StreamingContext context)
3839
: base(info, context)
3940
{
4041
}
42+
#pragma warning restore SYSLIB0051
4143
}
4244
}

src/WebJobs.Extensions.DurableTask/EntityScheduler/LockingRulesViolationException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ internal LockingRulesViolationException(string message, Exception innerException
2525
{
2626
}
2727

28+
#pragma warning disable SYSLIB0051 // Type or member is obsolete
2829
internal LockingRulesViolationException(SerializationInfo info, StreamingContext context)
2930
: base(info, context)
3031
{
3132
}
33+
#pragma warning restore SYSLIB0051
3234
}
3335
}

src/WebJobs.Extensions.DurableTask/EntityScheduler/OperationErrorException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ public OperationErrorException(string errorMessage)
3434
/// </summary>
3535
/// <param name="info">The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.</param>
3636
/// <param name="context">The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.</param>
37+
#pragma warning disable SYSLIB0051 // Type or member is obsolete
3738
protected OperationErrorException(SerializationInfo info, StreamingContext context)
3839
: base(info, context)
3940
{
4041
}
42+
#pragma warning restore SYSLIB0051
4143
}
4244
}

src/WebJobs.Extensions.DurableTask/FunctionFailedException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ public FunctionFailedException(string message, Exception innerException)
4040
{
4141
}
4242

43+
#pragma warning disable SYSLIB0051 // Type or member is obsolete
4344
internal FunctionFailedException(SerializationInfo info, StreamingContext context)
4445
: base(info, context)
4546
{
4647
}
48+
#pragma warning restore SYSLIB0051
4749
}
4850
}

src/WebJobs.Extensions.DurableTask/WebJobs.Extensions.DurableTask.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>Microsoft.Azure.WebJobs.Extensions.DurableTask</AssemblyName>
66
<RootNamespace>Microsoft.Azure.WebJobs.Extensions.DurableTask</RootNamespace>
77
<MajorVersion>3</MajorVersion>

src/Worker.Extensions.DurableTask/Worker.Extensions.DurableTask.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- Core compiler settings -->
44
<PropertyGroup>
5-
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
5+
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
88
<DebugType>embedded</DebugType>

test/Directory.Packages.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ItemGroup>
1010
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
1111
<PackageVersion Include="FluentAssertions" Version="4.19.4" />
12-
<PackageVersion Include="Microsoft.Azure.WebJobs.Logging.ApplicationInsights" Version="3.0.33" />
12+
<PackageVersion Include="Microsoft.Azure.WebJobs.Logging.ApplicationInsights" Version="3.0.41" />
1313
<PackageVersion Include="Microsoft.Build" Version="17.3.2" />
1414
<PackageVersion Include="Microsoft.Build.Framework" Version="17.3.2" />
1515
<PackageVersion Include="Microsoft.Build.Locator" Version="1.4.1" />
@@ -22,15 +22,14 @@
2222
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
2323
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.0" />
2424
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
25-
<PackageVersion Include="Microsoft.Extensions.Logging" Version="6.0.0" Condition="'$(TargetFramework)' == 'net6.0'" />
2625
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.0" Condition="'$(TargetFramework)' == 'net8.0'" />
2726
<PackageVersion Include="MSTest.TestAdapter" Version="1.3.2" />
2827
<PackageVersion Include="MSTest.TestFramework" Version="1.3.2" />
2928
</ItemGroup>
3029

3130
<!-- Transitive dependencies with higher versions -->
3231
<ItemGroup>
33-
<PackageVersion Update="Azure.Identity" Version="1.13.1" />
32+
<PackageVersion Update="Azure.Identity" Version="1.17.0" />
3433
<PackageVersion Update="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0"/>
3534
<PackageVersion Update="Microsoft.Extensions.Azure" Version="1.10.0" />
3635
<PackageVersion Update="System.Drawing.Common" Version="6.0.0" />

0 commit comments

Comments
 (0)