From d76a38e25e16cbe49074dfb6bb1ba9b7cc376cb1 Mon Sep 17 00:00:00 2001 From: "Cornelius J. van Dyk" Date: Mon, 4 Mar 2024 11:02:34 -0500 Subject: [PATCH 1/6] Update preprocessor-directives.md to add example of using logical and as well as logical or together with parentheses. (#39477) * Update preprocessor-directives.md to add example of using logical and as well as logical or together with parentheses. Update preprocessor-directives.md to add example of using logical and as well as logical or together with parentheses. * Update docs/csharp/language-reference/preprocessor-directives.md Co-authored-by: David Pine * Update docs/csharp/language-reference/preprocessor-directives.md Co-authored-by: David Pine --------- Co-authored-by: David Pine --- .../language-reference/preprocessor-directives.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/csharp/language-reference/preprocessor-directives.md b/docs/csharp/language-reference/preprocessor-directives.md index a6028f039ca96..0402c9f4536ae 100644 --- a/docs/csharp/language-reference/preprocessor-directives.md +++ b/docs/csharp/language-reference/preprocessor-directives.md @@ -88,6 +88,16 @@ The following code is compiled when `MYTEST` is **not** defined: You can use the operators [`==` (equality)](operators/equality-operators.md#equality-operator-) and [`!=` (inequality)](operators/equality-operators.md#inequality-operator-) to test for the [`bool`](builtin-types/bool.md) values `true` or `false`. `true` means the symbol is defined. The statement `#if DEBUG` has the same meaning as `#if (DEBUG == true)`. You can use the [`&&` (and)](operators/boolean-logical-operators.md#conditional-logical-and-operator-), [`||` (or)](operators/boolean-logical-operators.md#conditional-logical-or-operator-), and [`!` (not)](operators/boolean-logical-operators.md#logical-negation-operator-) operators to evaluate whether multiple symbols have been defined. You can also group symbols and operators with parentheses. +The following is a complex directive that allows your code to take advantage of newer .NET features while remaining backward compatible. For example, imagine that you're using a NuGet package in your code, but the package only supports .NET 6 and up, as well as .NET Standard 2.0 and up: + +```csharp +#if (NET6_0_OR_GREATER || NETSTANDARD2_0_OR_GREATER) + Console.WriteLine("Using .NET 6+ or .NET Standard 2+ code."); +#elif + Console.WriteLine("Using older code that doesn't support the above .NET versions."); +#endif +``` + `#if`, along with the `#else`, `#elif`, `#endif`, `#define`, and `#undef` directives, lets you include or exclude code based on the existence of one or more symbols. Conditional compilation can be useful when compiling code for a debug build or when compiling for a specific configuration. A conditional directive beginning with an `#if` directive must explicitly be terminated with an `#endif` directive. `#define` lets you define a symbol. By using the symbol as the expression passed to the `#if` directive, the expression evaluates to `true`. You can also define a symbol with the [**DefineConstants**](compiler-options/language.md#defineconstants) compiler option. You can undefine a symbol with `#undef`. The scope of a symbol created with `#define` is the file in which it was defined. A symbol that you define with **DefineConstants** or with `#define` doesn't conflict with a variable of the same name. That is, a variable name shouldn't be passed to a preprocessor directive, and a symbol can only be evaluated by a preprocessor directive. From 9e0785eca71b11b3d4814fb191af1868bb2364ef Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Mon, 4 Mar 2024 11:24:29 -0500 Subject: [PATCH 2/6] Add links to C# compiler breaks (#39681) * Add links to C# compiler breaks See https://github.com/dotnet/roslyn/issues/72098#issuecomment-1951821578 Add links from the .NET breaking changes articles to the corresponding C# compiler breaking changes articles. * fix warnings. * fix links again. * respond to feedback. --- docs/core/compatibility/5.0.md | 1 + docs/core/compatibility/6.0.md | 2 ++ docs/core/compatibility/7.0.md | 1 + docs/core/compatibility/8.0.md | 1 + 4 files changed, 5 insertions(+) diff --git a/docs/core/compatibility/5.0.md b/docs/core/compatibility/5.0.md index 3f2540f3ceee4..50db511f8dd83 100644 --- a/docs/core/compatibility/5.0.md +++ b/docs/core/compatibility/5.0.md @@ -193,4 +193,5 @@ If you're migrating an app to .NET 5, the breaking changes listed here might aff ## See also +- [C# compiler breaking changes in C# 9 / .NET 5](https://github.com/dotnet/roslyn/blob/main/docs/compilers/CSharp/Compiler%20Breaking%20Changes%20-%20DotNet%205.md) - [What's new in .NET 5](../whats-new/dotnet-5.md) diff --git a/docs/core/compatibility/6.0.md b/docs/core/compatibility/6.0.md index 490b199b6545f..3b1f95fde70c4 100644 --- a/docs/core/compatibility/6.0.md +++ b/docs/core/compatibility/6.0.md @@ -182,4 +182,6 @@ For information on other breaking changes for containers in .NET 6, see [.NET 6 ## See also +- [C# compiler breaking changes post C# 9](https://github.com/dotnet/roslyn/blob/main/docs/compilers/CSharp/Compiler%20Breaking%20Changes%20-%20post%20DotNet%205.md) +- [C# compiler breaking changes in C# 10](https://github.com/dotnet/roslyn/blob/main/docs/compilers/CSharp/Compiler%20Breaking%20Changes%20-%20DotNet%206.md) - [What's new in .NET 6](../whats-new/dotnet-6.md) diff --git a/docs/core/compatibility/7.0.md b/docs/core/compatibility/7.0.md index 23f983d9aaa40..ebcc6c16f39c3 100644 --- a/docs/core/compatibility/7.0.md +++ b/docs/core/compatibility/7.0.md @@ -164,4 +164,5 @@ If you're migrating an app to .NET 7, the breaking changes listed here might aff ## See also +- [C# compiler breaking changes in C# 11 / .NET 7](~/_roslyn/docs/compilers/CSharp/Compiler%20Breaking%20Changes%20-%20DotNet%207.md) - [What's new in .NET 7](../whats-new/dotnet-7.md) diff --git a/docs/core/compatibility/8.0.md b/docs/core/compatibility/8.0.md index 479b0334f86ec..56f958e0074fa 100644 --- a/docs/core/compatibility/8.0.md +++ b/docs/core/compatibility/8.0.md @@ -166,4 +166,5 @@ If you're migrating an app to .NET 8, the breaking changes listed here might aff ## See also +- [C# compiler breaking changes in C# 12 / .NET 8](~/_roslyn/docs/compilers/CSharp/Compiler%20Breaking%20Changes%20-%20DotNet%208.md) - [What's new in .NET 8](../whats-new/dotnet-8/overview.md) From f8ca25a4debd65d2f7baee436e58c6b50d5b00a8 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Mon, 4 Mar 2024 13:38:45 -0500 Subject: [PATCH 3/6] replace commented out docs (#39789) See https://github.com/dotnet/docs/pull/39762/files#r1509648074 I think these should still be commented out. Ping @Davebritch if I should uncomment instead. --- docs/whats-new/index.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/whats-new/index.yml b/docs/whats-new/index.yml index e9f42d85a0f74..8c48480d75622 100644 --- a/docs/whats-new/index.yml +++ b/docs/whats-new/index.yml @@ -16,6 +16,8 @@ landingContent: url: ../core/whats-new/dotnet-9/overview.md - text: ASP.NET Core 9.0 url: /aspnet/core/release-notes/aspnetcore-9.0 + - text: .NET MAUI 9 + url: /dotnet/maui/whats-new/dotnet-9 - text: EF Core 9 url: /ef/core/what-is-new/ef-core-9.0/whatsnew - title: .NET 8 release updates From 76e1ea4ab8e403833921c4dbb29067ee9df45c65 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 4 Mar 2024 12:19:04 -0800 Subject: [PATCH 4/6] Update package index with latest published versions (#39791) --- docs/azure/includes/dotnet-all.md | 3 ++- docs/azure/includes/dotnet-new.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md index 357c26f727b9a..82b315b6d04c2 100644 --- a/docs/azure/includes/dotnet-all.md +++ b/docs/azure/includes/dotnet-all.md @@ -27,6 +27,7 @@ | Core - Client - Core | NuGet [1.38.0](https://www.nuget.org/packages/Azure.Core/1.38.0) | [docs](/dotnet/api/overview/azure/Core-readme) | GitHub [1.38.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Core_1.38.0/sdk/core/Azure.Core/) | | Core Newtonsoft Json | NuGet [2.0.0](https://www.nuget.org/packages/Microsoft.Azure.Core.NewtonsoftJson/2.0.0) | [docs](/dotnet/api/overview/azure/Microsoft.Azure.Core.NewtonsoftJson-readme) | GitHub [2.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Core.NewtonsoftJson_2.0.0/sdk/core/Microsoft.Azure.Core.NewtonsoftJson/) | | Data Movement | NuGet [12.0.0-beta.4](https://www.nuget.org/packages/Azure.Storage.DataMovement/12.0.0-beta.4) | [docs](/dotnet/api/overview/azure/Storage.DataMovement-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [12.0.0-beta.4](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.DataMovement_12.0.0-beta.4/sdk/storage/Azure.Storage.DataMovement/) | +| Defender EASM | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.Analytics.Defender.Easm/1.0.0-beta.1) | | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Analytics.Defender.Easm_1.0.0-beta.1/sdk/easm/Azure.Analytics.Defender.Easm/) | | Dev Center | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Developer.DevCenter/1.0.0-beta.3) | [docs](/dotnet/api/overview/azure/Developer.DevCenter-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Developer.DevCenter_1.0.0-beta.3/sdk/devcenter/Azure.Developer.DevCenter/) | | Device Update | NuGet [1.0.0](https://www.nuget.org/packages/Azure.IoT.DeviceUpdate/1.0.0) | [docs](/dotnet/api/overview/azure/IoT.DeviceUpdate-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.IoT.DeviceUpdate_1.0.0/sdk/deviceupdate/Azure.IoT.DeviceUpdate/) | | Digital Twins | NuGet [1.4.0](https://www.nuget.org/packages/Azure.DigitalTwins.Core/1.4.0) | [docs](/dotnet/api/overview/azure/DigitalTwins.Core-readme) | GitHub [1.4.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.DigitalTwins.Core_1.4.0/sdk/digitaltwins/Azure.DigitalTwins.Core/) | @@ -59,7 +60,7 @@ | Monitor Ingestion | NuGet [1.1.1](https://www.nuget.org/packages/Azure.Monitor.Ingestion/1.1.1) | [docs](/dotnet/api/overview/azure/Monitor.Ingestion-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.Ingestion_1.1.1/sdk/monitor/Azure.Monitor.Ingestion/) | | Monitor Query | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Monitor.Query/1.2.0)
NuGet [1.3.0-beta.2](https://www.nuget.org/packages/Azure.Monitor.Query/1.3.0-beta.2) | [docs](/dotnet/api/overview/azure/Monitor.Query-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.Query_1.2.0/sdk/monitor/Azure.Monitor.Query/)
GitHub [1.3.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.Query_1.3.0-beta.2/sdk/monitor/Azure.Monitor.Query/) | | OpenAI Assistants | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.AI.OpenAI.Assistants/1.0.0-beta.2) | [docs](/dotnet/api/overview/azure/AI.OpenAI.Assistants-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.OpenAI.Assistants_1.0.0-beta.2/sdk/openai/Azure.AI.OpenAI.Assistants/) | -| OpenAI Inference | NuGet [1.0.0-beta.13](https://www.nuget.org/packages/Azure.AI.OpenAI/1.0.0-beta.13) | [docs](/dotnet/api/overview/azure/AI.OpenAI-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.13](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.OpenAI_1.0.0-beta.13/sdk/openai/Azure.AI.OpenAI/) | +| OpenAI Inference | NuGet [1.0.0-beta.14](https://www.nuget.org/packages/Azure.AI.OpenAI/1.0.0-beta.14) | [docs](/dotnet/api/overview/azure/AI.OpenAI-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.14](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.OpenAI_1.0.0-beta.14/sdk/openai/Azure.AI.OpenAI/) | | OpenTelemetry AspNetCore | NuGet [1.1.0](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.AspNetCore/1.1.0)
NuGet [1.2.0-beta.1](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.AspNetCore/1.2.0-beta.1) | [docs](/dotnet/api/overview/azure/Monitor.OpenTelemetry.AspNetCore-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.AspNetCore_1.1.0/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/)
GitHub [1.2.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.AspNetCore_1.2.0-beta.1/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/) | | OpenTelemetry Exporter | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.Exporter/1.2.0)
NuGet [1.3.0-beta.1](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.Exporter/1.3.0-beta.1) | [docs](/dotnet/api/overview/azure/Monitor.OpenTelemetry.Exporter-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.Exporter_1.2.0/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/)
GitHub [1.3.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.Exporter_1.3.0-beta.1/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/) | | Personalizer | NuGet [2.0.0-beta.2](https://www.nuget.org/packages/Azure.AI.Personalizer/2.0.0-beta.2) | [docs](/dotnet/api/overview/azure/AI.Personalizer-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.Personalizer_2.0.0-beta.2/sdk/personalizer/Azure.AI.Personalizer/) | diff --git a/docs/azure/includes/dotnet-new.md b/docs/azure/includes/dotnet-new.md index 248cb0be804f1..0ce20e40c3938 100644 --- a/docs/azure/includes/dotnet-new.md +++ b/docs/azure/includes/dotnet-new.md @@ -27,6 +27,7 @@ | Core - Client - Core | NuGet [1.38.0](https://www.nuget.org/packages/Azure.Core/1.38.0) | [docs](/dotnet/api/overview/azure/Core-readme) | GitHub [1.38.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Core_1.38.0/sdk/core/Azure.Core/) | | Core Newtonsoft Json | NuGet [2.0.0](https://www.nuget.org/packages/Microsoft.Azure.Core.NewtonsoftJson/2.0.0) | [docs](/dotnet/api/overview/azure/Microsoft.Azure.Core.NewtonsoftJson-readme) | GitHub [2.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Core.NewtonsoftJson_2.0.0/sdk/core/Microsoft.Azure.Core.NewtonsoftJson/) | | Data Movement | NuGet [12.0.0-beta.4](https://www.nuget.org/packages/Azure.Storage.DataMovement/12.0.0-beta.4) | [docs](/dotnet/api/overview/azure/Storage.DataMovement-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [12.0.0-beta.4](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.DataMovement_12.0.0-beta.4/sdk/storage/Azure.Storage.DataMovement/) | +| Defender EASM | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.Analytics.Defender.Easm/1.0.0-beta.1) | | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Analytics.Defender.Easm_1.0.0-beta.1/sdk/easm/Azure.Analytics.Defender.Easm/) | | Dev Center | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Developer.DevCenter/1.0.0-beta.3) | [docs](/dotnet/api/overview/azure/Developer.DevCenter-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Developer.DevCenter_1.0.0-beta.3/sdk/devcenter/Azure.Developer.DevCenter/) | | Device Update | NuGet [1.0.0](https://www.nuget.org/packages/Azure.IoT.DeviceUpdate/1.0.0) | [docs](/dotnet/api/overview/azure/IoT.DeviceUpdate-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.IoT.DeviceUpdate_1.0.0/sdk/deviceupdate/Azure.IoT.DeviceUpdate/) | | Digital Twins | NuGet [1.4.0](https://www.nuget.org/packages/Azure.DigitalTwins.Core/1.4.0) | [docs](/dotnet/api/overview/azure/DigitalTwins.Core-readme) | GitHub [1.4.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.DigitalTwins.Core_1.4.0/sdk/digitaltwins/Azure.DigitalTwins.Core/) | @@ -60,7 +61,7 @@ | Monitor Ingestion | NuGet [1.1.1](https://www.nuget.org/packages/Azure.Monitor.Ingestion/1.1.1) | [docs](/dotnet/api/overview/azure/Monitor.Ingestion-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.Ingestion_1.1.1/sdk/monitor/Azure.Monitor.Ingestion/) | | Monitor Query | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Monitor.Query/1.2.0)
NuGet [1.3.0-beta.2](https://www.nuget.org/packages/Azure.Monitor.Query/1.3.0-beta.2) | [docs](/dotnet/api/overview/azure/Monitor.Query-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.Query_1.2.0/sdk/monitor/Azure.Monitor.Query/)
GitHub [1.3.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.Query_1.3.0-beta.2/sdk/monitor/Azure.Monitor.Query/) | | OpenAI Assistants | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.AI.OpenAI.Assistants/1.0.0-beta.2) | [docs](/dotnet/api/overview/azure/AI.OpenAI.Assistants-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.OpenAI.Assistants_1.0.0-beta.2/sdk/openai/Azure.AI.OpenAI.Assistants/) | -| OpenAI Inference | NuGet [1.0.0-beta.13](https://www.nuget.org/packages/Azure.AI.OpenAI/1.0.0-beta.13) | [docs](/dotnet/api/overview/azure/AI.OpenAI-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.13](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.OpenAI_1.0.0-beta.13/sdk/openai/Azure.AI.OpenAI/) | +| OpenAI Inference | NuGet [1.0.0-beta.14](https://www.nuget.org/packages/Azure.AI.OpenAI/1.0.0-beta.14) | [docs](/dotnet/api/overview/azure/AI.OpenAI-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.14](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.OpenAI_1.0.0-beta.14/sdk/openai/Azure.AI.OpenAI/) | | OpenTelemetry AspNetCore | NuGet [1.1.0](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.AspNetCore/1.1.0)
NuGet [1.2.0-beta.1](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.AspNetCore/1.2.0-beta.1) | [docs](/dotnet/api/overview/azure/Monitor.OpenTelemetry.AspNetCore-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.AspNetCore_1.1.0/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/)
GitHub [1.2.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.AspNetCore_1.2.0-beta.1/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/) | | OpenTelemetry Exporter | NuGet [1.2.0](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.Exporter/1.2.0)
NuGet [1.3.0-beta.1](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.Exporter/1.3.0-beta.1) | [docs](/dotnet/api/overview/azure/Monitor.OpenTelemetry.Exporter-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.Exporter_1.2.0/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/)
GitHub [1.3.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Monitor.OpenTelemetry.Exporter_1.3.0-beta.1/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/) | | Personalizer | NuGet [2.0.0-beta.2](https://www.nuget.org/packages/Azure.AI.Personalizer/2.0.0-beta.2) | [docs](/dotnet/api/overview/azure/AI.Personalizer-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.Personalizer_2.0.0-beta.2/sdk/personalizer/Azure.AI.Personalizer/) | From de2c97d0c6ba920736cfcab019fc4c754c2d09de Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:25:06 -0800 Subject: [PATCH 5/6] Update package index with latest published versions (#39797) --- docs/azure/includes/dotnet-all.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md index 82b315b6d04c2..c64acb232d869 100644 --- a/docs/azure/includes/dotnet-all.md +++ b/docs/azure/includes/dotnet-all.md @@ -454,7 +454,7 @@ | Microsoft.Azure.Functions.Worker.Core | NuGet [1.17.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Core/1.17.0) | | | | Microsoft.Azure.Functions.Worker.Extensions.Abstractions | NuGet [1.3.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.Abstractions/1.3.0) | | | | Microsoft.Azure.Functions.Worker.Extensions.ApplicationInsights | NuGet [1.0.0-preview4](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.ApplicationInsights/1.0.0-preview4) | | | -| Microsoft.Azure.Functions.Worker.Extensions.CosmosDB | NuGet [4.6.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.CosmosDB/4.6.0) | | | +| Microsoft.Azure.Functions.Worker.Extensions.CosmosDB | NuGet [4.7.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.CosmosDB/4.7.0) | | | | Microsoft.Azure.Functions.Worker.Extensions.EventGrid | NuGet [3.4.1](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.EventGrid/3.4.1) | | | | Microsoft.Azure.Functions.Worker.Extensions.EventHubs | NuGet [6.1.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.EventHubs/6.1.0) | | | | Microsoft.Azure.Functions.Worker.Extensions.Http | NuGet [3.1.0](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.Http/3.1.0) | | | From 2586e12ebf8292c5eb5cbdb03ec4b8fb466ca54d Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:15:15 -0800 Subject: [PATCH 6/6] Fix VS for Mac version (#39569) --- docs/core/install/macos.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/core/install/macos.md b/docs/core/install/macos.md index da7b65f1d8ac5..dc089d83789f8 100644 --- a/docs/core/install/macos.md +++ b/docs/core/install/macos.md @@ -199,11 +199,11 @@ Environment variables that add .NET to system path, such as the `PATH` variable, Visual Studio for Mac installs the .NET SDK when the **.NET** workload is selected. To get started with .NET development on macOS, see [Install Visual Studio 2019 for Mac](/visualstudio/mac/installation). -| .NET SDK version | Visual Studio version | -| --------------------- | ---------------------------------------------------- | -| 8.0 | Visual Studio 2022 for Mac 17.8 or higher. | -| 7.0 | Visual Studio 2022 for Mac 17.4 or higher. | -| 6.0 | Visual Studio 2022 for Mac Preview 3 17.0 or higher. | +| .NET SDK version | Visual Studio version | +| --------------------- | ---------------------------------------------------------------------------- | +| 8.0 | Visual Studio 2022 for Mac 17.6 or higher. (Available as a preview feature.) | +| 7.0 | Visual Studio 2022 for Mac 17.4 or higher. | +| 6.0 | Visual Studio 2022 for Mac Preview 3 17.0 or higher. | :::image type="content" source="media/install-sdk/mac-install-selection.png" alt-text="macOS Visual Studio 2019 for Mac with the .NET workload selected." lightbox="media/install-sdk/mac-install-selection.png":::