Skip to content

Commit

Permalink
Remove support for net451, netcore21, net5, upgrade azure core depend…
Browse files Browse the repository at this point in the history
…ency (#3400)

Make samples target .net 6 as well
  • Loading branch information
timtay-microsoft authored Dec 1, 2023
1 parent da00063 commit a43f576
Show file tree
Hide file tree
Showing 26 changed files with 56 additions and 45 deletions.
4 changes: 2 additions & 2 deletions e2e/test/E2ETests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net472;net451</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;net7.0</TargetFrameworks>
<!-- By setting this as not a test project for other frameworks, we can run "dotnet test" for a specific framework from the root directory without dotnet throwing if any test project in the solution doesn't support that framework -->
<IsTestProject Condition="'$(OS)' != 'Windows_NT' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net7.0'">False</IsTestProject>
Expand Down Expand Up @@ -49,7 +49,7 @@
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net451' ">
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.3" />
<PackageReference Include="Azure.Identity" Version="1.3.0" />
<PackageReference Include="Azure.Identity" Version="1.10.4" />
</ItemGroup>

<ItemGroup Condition=" '$(AZURE_IOT_LOCALPACKAGES)' == '' ">
Expand Down
3 changes: 2 additions & 1 deletion e2e/test/helpers/TestDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,12 @@ private static async Task<TestDevice> CreateDeviceAsync(TestDeviceType type, str

if (type == TestDeviceType.X509)
{
using X509Certificate2 cert = TestConfiguration.IotHub.GetCertificateWithPrivateKey();
requestDevice.Authentication = new AuthenticationMechanism
{
X509Thumbprint = new X509Thumbprint
{
PrimaryThumbprint = TestConfiguration.IotHub.GetCertificateWithPrivateKey().Thumbprint
PrimaryThumbprint = cert.Thumbprint
}
};

Expand Down
30 changes: 15 additions & 15 deletions e2e/test/iothub/messaging/MessageReceiveE2EPoolAmqpTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ await ReceiveMessagePoolOverAmqpAsync(
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_DeviceReceiveSingleMessage_MultipleConnections_Amqp()
{
Expand All @@ -82,7 +82,7 @@ await ReceiveMessagePoolOverAmqpAsync(
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_DeviceReceiveSingleMessage_MultipleConnections_AmqpWs()
{
Expand All @@ -93,7 +93,7 @@ await ReceiveMessagePoolOverAmqpAsync(
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_IoTHubSak_DeviceReceiveSingleMessage_MultipleConnections_Amqp()
{
Expand All @@ -105,7 +105,7 @@ await ReceiveMessagePoolOverAmqpAsync(
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_IoTHubSak_DeviceReceiveSingleMessage_MultipleConnections_AmqpWs()
{
Expand All @@ -117,7 +117,7 @@ await ReceiveMessagePoolOverAmqpAsync(
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_DeviceReceiveSingleMessageUsingCallback_MultipleConnections_Amqp()
{
Expand All @@ -130,7 +130,7 @@ public async Task Message_DeviceReceiveSingleMessageUsingCallback_MultipleConnec
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_DeviceReceiveSingleMessageUsingCallback_MultipleConnections_AmqpWs()
{
Expand All @@ -143,7 +143,7 @@ public async Task Message_DeviceReceiveSingleMessageUsingCallback_MultipleConnec
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallback_MultipleConnections_Amqp()
{
Expand All @@ -157,7 +157,7 @@ public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallback_Mult
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallback_MultipleConnections_AmqpWs()
{
Expand All @@ -171,7 +171,7 @@ public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallback_Mult
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_DeviceReceiveSingleMessageUsingCallbackAndUnsubscribe_MultipleConnections_Amqp()
{
Expand All @@ -184,7 +184,7 @@ public async Task Message_DeviceReceiveSingleMessageUsingCallbackAndUnsubscribe_
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_DeviceReceiveSingleMessageUsingCallbackAndUnsubscribe_MultipleConnections_AmqpWs()
{
Expand All @@ -197,7 +197,7 @@ public async Task Message_DeviceReceiveSingleMessageUsingCallbackAndUnsubscribe_
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallbackAndUnsubscribe_MultipleConnections_Amqp()
{
Expand All @@ -211,7 +211,7 @@ public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallbackAndUn
}

[Ignore] // TODO: Investigate timeout for this test
[TestMethodWithRetry(Max=3)]
[TestMethodWithRetry(Max = 3)]
[Timeout(LongRunningTestTimeoutMilliseconds)]
public async Task Message_IoTHubSak_DeviceReceiveSingleMessageUsingCallbackAndUnsubscribe_MultipleConnections_AmqpWs()
{
Expand All @@ -233,7 +233,7 @@ private async Task ReceiveMessagePoolOverAmqpAsync(
var messagesSent = new Dictionary<string, Tuple<Message, string>>();

// Initialize the service client
var serviceClient = ServiceClient.CreateFromConnectionString(TestConfiguration.IotHub.ConnectionString);
using var serviceClient = ServiceClient.CreateFromConnectionString(TestConfiguration.IotHub.ConnectionString);

async Task InitOperationAsync(DeviceClient deviceClient, TestDevice testDevice, TestDeviceCallbackHandler _)
{
Expand Down Expand Up @@ -280,7 +280,7 @@ private async Task ReceiveMessageUsingCallbackPoolOverAmqpAsync(
ConnectionStringAuthScope authScope = ConnectionStringAuthScope.Device)
{
// Initialize the service client
var serviceClient = ServiceClient.CreateFromConnectionString(TestConfiguration.IotHub.ConnectionString);
using var serviceClient = ServiceClient.CreateFromConnectionString(TestConfiguration.IotHub.ConnectionString);

async Task InitOperationAsync(DeviceClient deviceClient, TestDevice testDevice, TestDeviceCallbackHandler testDeviceCallbackHandler)
{
Expand Down Expand Up @@ -327,7 +327,7 @@ private async Task ReceiveMessageUsingCallbackAndUnsubscribePoolOverAmqpAsync(
ConnectionStringAuthScope authScope = ConnectionStringAuthScope.Device)
{
// Initialize the service client
var serviceClient = ServiceClient.CreateFromConnectionString(TestConfiguration.IotHub.ConnectionString);
using var serviceClient = ServiceClient.CreateFromConnectionString(TestConfiguration.IotHub.ConnectionString);

async Task InitOperationAsync(DeviceClient deviceClient, TestDevice testDevice, TestDeviceCallbackHandler testDeviceCallbackHandler)
{
Expand Down
4 changes: 2 additions & 2 deletions iothub/device/src/Microsoft.Azure.Devices.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net5.0;netstandard2.1;netstandard2.0;net472;net451</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Microsoft.Azure.Devices.Client</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static byte[] SerializeRequest(HttpRequestMessage request)
builder.Append(Space);
builder.Append(request.RequestUri.IsAbsoluteUri
? request.RequestUri.PathAndQuery
: Uri.EscapeUriString(request.RequestUri.ToString()));
: Uri.EscapeDataString(request.RequestUri.ToString()));
builder.Append(Space);
builder.Append($"{Protocol}{ProtocolVersionSeparator}");
builder.Append(new Version(1, 1).ToString(2));
Expand Down
2 changes: 2 additions & 0 deletions iothub/device/src/Transport/Http/ServicePointHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public static void SetLimits(HttpMessageHandler messageHandler, Uri baseUri, int
#if !NET451
httpClientHandler.MaxConnectionsPerServer = DefaultMaxConnectionsPerServer;
#endif
#pragma warning disable SYSLIB0014 // Type or member is obsolete
ServicePoint servicePoint = ServicePointManager.FindServicePoint(baseUri);
#pragma warning restore SYSLIB0014 // Type or member is obsolete
servicePoint.ConnectionLeaseTimeout = connectionLeaseTimeoutMilliseconds;
break;
#if NETCOREAPP2_1_OR_GREATER || NET5_0_OR_GREATER
Expand Down
2 changes: 2 additions & 0 deletions iothub/device/src/Transport/Mqtt/MqttTransportHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,8 @@ private async Task OpenInternalAsync(CancellationToken cancellationToken)
{
#if NET451
_serverAddresses = Dns.GetHostEntry(_hostName).AddressList;
#elif NET6_0_OR_GREATER
_serverAddresses = await Dns.GetHostAddressesAsync(_hostName, cancellationToken).ConfigureAwait(false);
#else
_serverAddresses = await Dns.GetHostAddressesAsync(_hostName).ConfigureAwait(false);
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net472;net451</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;net7.0</TargetFrameworks>
<!-- By setting this as not a test project for other frameworks, we can run "dotnet test" for a specific framework from the root directory without dotnet throwing if any test project in the solution doesn't support that framework -->
<IsTestProject Condition="'$(OS)' != 'Windows_NT' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net7.0'">False</IsTestProject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.25.0" />
<PackageReference Include="Azure.Core" Version="1.36.0" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.25.0" />
<PackageReference Include="Azure.Identity" Version="1.6.1" />
<PackageReference Include="Azure.Core" Version="1.36.0" />
<PackageReference Include="Azure.Identity" Version="1.10.4" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions iothub/service/src/Microsoft.Azure.Devices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<PropertyGroup>
<!--netcoreapp2.1 target framework here is solely so that this library can use the SocketsHttpHandler class to handle connection lease timeout issues.-->
<!--See #1874 for additional details-->
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;net472;net451;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Microsoft.Azure.Devices</RootNamespace>
Expand Down Expand Up @@ -181,7 +181,7 @@
<ItemGroup Condition=" '$(TargetFramework)' != 'net451' ">
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Contracts" Version="4.3.0" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.21" />
<PackageReference Include="Azure.Core" Version="1.22.0" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.24" />
<PackageReference Include="Azure.Core" Version="1.36.0" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions iothub/service/src/ServicePointHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ public static void SetLimits(HttpMessageHandler messageHandler, Uri baseUri, int
#if !NET451
httpClientHandler.MaxConnectionsPerServer = DefaultMaxConnectionsPerServer;
#endif
#pragma warning disable SYSLIB0014 // Type or member is obsolete
ServicePoint servicePoint = ServicePointManager.FindServicePoint(baseUri);
servicePoint.ConnectionLeaseTimeout = connectionLeaseTimeoutMilliseconds;
#pragma warning restore SYSLIB0014 // Type or member is obsolete
break;
#if NETCOREAPP2_1_OR_GREATER || NET5_0_OR_GREATER
// SocketsHttpHandler is only available in netcore2.1 and onwards
Expand Down
2 changes: 1 addition & 1 deletion iothub/service/tests/Microsoft.Azure.Devices.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net472;net451</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net6.0;net7.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0;net7.0</TargetFrameworks>
<!-- By setting this as not a test project for other frameworks, we can run "dotnet test" for a specific framework from the root directory without dotnet throwing if any test project in the solution doesn't support that framework -->
<IsTestProject Condition="'$(OS)' != 'Windows_NT' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net7.0'">False</IsTestProject>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<RootNamespace>Microsoft.Azure.Devices.Provisioning.Service.Samples</RootNamespace>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>9.0</LangVersion>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Microsoft.Azure.Devices.Provisioning.Client.Transport</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public async Task<HttpOperationResponse<RegistrationOperationStatus>> OperationS
// Tracing
bool shouldTrace = ServiceClientTracing.IsEnabled;
string invocationId = null;

if (shouldTrace)
{
invocationId = ServiceClientTracing.NextInvocationId.ToString(CultureInfo.InvariantCulture);
Expand All @@ -291,7 +291,7 @@ public async Task<HttpOperationResponse<RegistrationOperationStatus>> OperationS
string baseUrl = Client.BaseUri.AbsoluteUri;
string url = new Uri(
new Uri(baseUrl + (baseUrl.EndsWith("/", StringComparison.Ordinal) ? "" : "/")),
$"{Uri.EscapeUriString(idScope)}/registrations/{Uri.EscapeUriString(registrationId)}")
$"{Uri.EscapeDataString(idScope)}/registrations/{Uri.EscapeDataString(registrationId)}")
.ToString();

// Create HTTP transport objects
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Microsoft.Azure.Devices.Provisioning.Client.Transport</RootNamespace>
Expand Down Expand Up @@ -104,7 +104,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.21" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.24" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Microsoft.Azure.Devices.Provisioning.Client.Transport</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,11 @@ private async Task<RegistrationOperationStatus> ProvisionOverTcpCommonAsync(
if (Logging.IsEnabled)
Logging.Associate(bootstrap, this);

#if NET6_0_OR_GREATER
IPAddress[] addresses = await Dns.GetHostAddressesAsync(message.GlobalDeviceEndpoint, cancellationToken).ConfigureAwait(false);
#else
IPAddress[] addresses = await Dns.GetHostAddressesAsync(message.GlobalDeviceEndpoint).ConfigureAwait(false);
#endif

if (Logging.IsEnabled)
Logging.Info(this, $"DNS resolved {addresses.Length} addresses.");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;netstandard2.1;netstandard2.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>Microsoft.Azure.Devices.Provisioning.Security</RootNamespace>
Expand Down
Loading

0 comments on commit a43f576

Please sign in to comment.