Update projects targeting net6 to net8 - part3 (#9021)
This commit is contained in:
Родитель
30d6dcc300
Коммит
6db814cb8c
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<VersionPrefix>0.1.0</VersionPrefix>
|
||||
|
||||
<PackAsTool>true</PackAsTool>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<AzureFunctionsVersion>v3</AzureFunctionsVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
@ -10,8 +10,5 @@ namespace Azure.Sdk.Tools.WebhookRouter.Routing
|
|||
public RouterConfigurationException() { }
|
||||
public RouterConfigurationException(string message) : base(message) { }
|
||||
public RouterConfigurationException(string message, Exception inner) : base(message, inner) { }
|
||||
protected RouterConfigurationException(
|
||||
System.Runtime.Serialization.SerializationInfo info,
|
||||
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Azure.Data.AppConfiguration;
|
||||
using Azure.Data.AppConfiguration;
|
||||
using Azure.Identity;
|
||||
using Azure.Messaging.EventHubs;
|
||||
using Azure.Messaging.EventHubs.Producer;
|
||||
|
@ -160,7 +160,7 @@ namespace Azure.Sdk.Tools.WebhookRouter.Routing
|
|||
return payloadContent;
|
||||
}
|
||||
|
||||
private SHA256CryptoServiceProvider sha256 = new SHA256CryptoServiceProvider();
|
||||
private SHA256 sha256 = SHA256.Create();
|
||||
|
||||
private async Task<byte[]> ReadAndValidateContentFromAzureDevOpsAsync(AzureDevOpsRule rule, HttpRequest request)
|
||||
{
|
||||
|
@ -285,7 +285,7 @@ namespace Azure.Sdk.Tools.WebhookRouter.Routing
|
|||
payload
|
||||
);
|
||||
|
||||
throw ex;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
@ -10,8 +10,5 @@ namespace Azure.Sdk.Tools.WebhookRouter.Routing
|
|||
public RouterAuthorizationException() { }
|
||||
public RouterAuthorizationException(string message) : base(message) { }
|
||||
public RouterAuthorizationException(string message, Exception inner) : base(message, inner) { }
|
||||
protected RouterAuthorizationException(
|
||||
System.Runtime.Serialization.SerializationInfo info,
|
||||
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
@ -10,8 +10,5 @@ namespace Azure.Sdk.Tools.WebhookRouter.Routing
|
|||
public RouterException() { }
|
||||
public RouterException(string message) : base(message) { }
|
||||
public RouterException(string message, Exception inner) : base(message, inner) { }
|
||||
protected RouterException(
|
||||
System.Runtime.Serialization.SerializationInfo info,
|
||||
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче