Skip to content

Commit 99177a6

Browse files
Copiloteerhardt
andauthored
Multi-target all component libraries to fix NuGet downgrade error (#11932)
* Initial plan * Multi-target RabbitMQ client libraries to net8.0 and net9.0 Co-authored-by: eerhardt <[email protected]> * Multi-target all component libraries to net8.0 and net9.0 (except Pomelo and Oracle EF Core) Co-authored-by: eerhardt <[email protected]> * Multi-target all client library tests Remove unnecessary comments --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: eerhardt <[email protected]> Co-authored-by: Eric Erhardt <[email protected]>
1 parent 53eaf5d commit 99177a6

File tree

62 files changed

+58
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+58
-62
lines changed

src/Components/Aspire.Azure.AI.Inference/Aspire.Azure.AI.Inference.csproj

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

33
<PropertyGroup>
4-
<!-- This project needs to multi-target to net9.0 as well to avoid hitting NuGet Restore issues when package is restored from a net9+ project and avoid NU1605 downgrade errors. -->
54
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
65
<IsPackable>true</IsPackable>
76
<PackageTags>$(ComponentAzurePackageTags) ai</PackageTags>

src/Components/Aspire.Azure.AI.OpenAI/Aspire.Azure.AI.OpenAI.csproj

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

33
<PropertyGroup>
4-
<!-- This project needs to multi-target to net9.0 as well to avoid hitting NuGet Restore issues when package is restored from a net9+ project and avoid NU1605 downgrade errors. -->
54
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
65
<IsPackable>true</IsPackable>
76
<PackageTags>$(ComponentAzurePackageTags) ai openai</PackageTags>

src/Components/Aspire.Azure.Data.Tables/Aspire.Azure.Data.Tables.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) tables table</PackageTags>
77
<Description>A client for Azure Table Storage that integrates with Aspire, including health checks, logging, and telemetry.</Description>

src/Components/Aspire.Azure.Messaging.EventHubs/Aspire.Azure.Messaging.EventHubs.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) eventhubs amqp</PackageTags>
77
<Description>A client for Azure Event Hubs that integrates with Aspire, including logging and telemetry.</Description>

src/Components/Aspire.Azure.Messaging.ServiceBus/Aspire.Azure.Messaging.ServiceBus.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) servicebus amqp</PackageTags>
77
<Description>A client for Azure Service Bus that integrates with Aspire, including health checks, logging and telemetry.</Description>

src/Components/Aspire.Azure.Messaging.WebPubSub/Aspire.Azure.Messaging.WebPubSub.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) webpubsub websocket pubsub</PackageTags>
77
<Description>A service client for Azure Web PubSub that integrates with Aspire, including health checks, logging and telemetry.</Description>

src/Components/Aspire.Azure.Npgsql/Aspire.Azure.Npgsql.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) postgresql postgres npgsql sql</PackageTags>
77
<Description>A client for Azure Database for PostgreSQL® that integrates with Aspire, including health checks, logging and telemetry.</Description>

src/Components/Aspire.Azure.Search.Documents/Aspire.Azure.Search.Documents.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) azure search</PackageTags>
77
<Description>A client for Azure AI Search that integrates with Aspire, including logging and telemetry.</Description>

src/Components/Aspire.Azure.Security.KeyVault/Aspire.Azure.Security.KeyVault.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) keyvault secrets</PackageTags>
77
<Description>A client for Azure Key Vault that integrates with Aspire, including health checks, logging and telemetry.</Description>

src/Components/Aspire.Azure.Storage.Blobs/Aspire.Azure.Storage.Blobs.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>$(DefaultTargetFramework)</TargetFramework>
4+
<TargetFrameworks>$(AllTargetFrameworks)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<PackageTags>$(ComponentAzurePackageTags) storage blobs blob</PackageTags>
77
<Description>A client for Azure Blob Storage that integrates with Aspire, including health checks, logging and telemetry.</Description>

0 commit comments

Comments
 (0)