Skip to content

Commit ba49c8e

Browse files
Merge pull request #45633 from dotnet/main
Merge main into live
2 parents 60a9136 + 13affef commit ba49c8e

File tree

19 files changed

+229
-63
lines changed

19 files changed

+229
-63
lines changed

docs/azure/includes/dotnet-all.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
| Resource Management - Confluent | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.Confluent/1.2.1) | [docs](/dotnet/api/overview/azure/ResourceManager.Confluent-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Confluent_1.2.1/sdk/confluent/Azure.ResourceManager.Confluent/) |
198198
| Resource Management - Connected VMware vSphere | NuGet [1.1.1](https://www.nuget.org/packages/Azure.ResourceManager.ConnectedVMwarevSphere/1.1.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ConnectedVMwarevSphere-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ConnectedVMwarevSphere_1.1.1/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/) |
199199
| Resource Management - Consumption | NuGet [1.0.1](https://www.nuget.org/packages/Azure.ResourceManager.Consumption/1.0.1)<br>NuGet [1.1.0-beta.3](https://www.nuget.org/packages/Azure.ResourceManager.Consumption/1.1.0-beta.3) | [docs](/dotnet/api/overview/azure/ResourceManager.Consumption-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Consumption_1.0.1/sdk/consumption/Azure.ResourceManager.Consumption/)<br>GitHub [1.1.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Consumption_1.1.0-beta.3/sdk/consumption/Azure.ResourceManager.Consumption/) |
200-
| Resource Management - Container Apps | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.AppContainers/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.AppContainers-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.AppContainers_1.3.0/sdk/containerapps/Azure.ResourceManager.AppContainers/) |
200+
| Resource Management - Container Apps | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.AppContainers/1.3.0)<br>NuGet [1.4.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.AppContainers/1.4.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.AppContainers-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.AppContainers_1.3.0/sdk/containerapps/Azure.ResourceManager.AppContainers/)<br>GitHub [1.4.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.AppContainers_1.4.0-beta.1/sdk/containerapps/Azure.ResourceManager.AppContainers/) |
201201
| Resource Management - Container Instances | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerInstance/1.2.1)<br>NuGet [1.3.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerInstance/1.3.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerInstance-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerInstance_1.2.1/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/)<br>GitHub [1.3.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerInstance_1.3.0-beta.1/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/) |
202202
| Resource Management - Container Registry | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerRegistry/1.2.1)<br>NuGet [1.3.0-beta.2](https://www.nuget.org/packages/Azure.ResourceManager.ContainerRegistry/1.3.0-beta.2) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerRegistry-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerRegistry_1.2.1/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/)<br>GitHub [1.3.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerRegistry_1.3.0-beta.2/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/) |
203203
| Resource Management - Container Service | NuGet [1.2.3](https://www.nuget.org/packages/Azure.ResourceManager.ContainerService/1.2.3) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerService-readme) | GitHub [1.2.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerService_1.2.3/sdk/containerservice/Azure.ResourceManager.ContainerService/) |
@@ -378,8 +378,8 @@
378378
| Unknown Display Name | NuGet [0.10.1](https://www.nuget.org/packages/Azure.Iot.Operations.Services/0.10.1) | | |
379379
| Unknown Display Name | NuGet [1.0.0-beta3](https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.Profiler/1.0.0-beta3) | | |
380380
| Unknown Display Name | NuGet [1.0.0-beta.0](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.FaultInjection/1.0.0-beta.0) | | |
381-
| Unknown Display Name | NuGet [1.0.44](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.MySql/1.0.44) | | |
382-
| Unknown Display Name | NuGet [1.0.44](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.MySql/1.0.44) | | |
381+
| Unknown Display Name | NuGet [1.0.98](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.MySql/1.0.98) | | |
382+
| Unknown Display Name | NuGet [1.0.98](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.MySql/1.0.98) | | |
383383
| Unknown Display Name | NuGet [1.43.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.CLI/1.43.0) | | |
384384
| Unknown Display Name | NuGet [1.43.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.Extension.Embedded.SR/1.43.0) | | |
385385
| Unknown Display Name | NuGet [1.43.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.Extension.Embedded.TTS/1.43.0) | | |

docs/azure/includes/dotnet-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
| Resource Management - Confluent | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.Confluent/1.2.1) | [docs](/dotnet/api/overview/azure/ResourceManager.Confluent-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Confluent_1.2.1/sdk/confluent/Azure.ResourceManager.Confluent/) |
204204
| Resource Management - Connected VMware vSphere | NuGet [1.1.1](https://www.nuget.org/packages/Azure.ResourceManager.ConnectedVMwarevSphere/1.1.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ConnectedVMwarevSphere-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ConnectedVMwarevSphere_1.1.1/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/) |
205205
| Resource Management - Consumption | NuGet [1.0.1](https://www.nuget.org/packages/Azure.ResourceManager.Consumption/1.0.1)<br>NuGet [1.1.0-beta.3](https://www.nuget.org/packages/Azure.ResourceManager.Consumption/1.1.0-beta.3) | [docs](/dotnet/api/overview/azure/ResourceManager.Consumption-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Consumption_1.0.1/sdk/consumption/Azure.ResourceManager.Consumption/)<br>GitHub [1.1.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Consumption_1.1.0-beta.3/sdk/consumption/Azure.ResourceManager.Consumption/) |
206-
| Resource Management - Container Apps | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.AppContainers/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.AppContainers-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.AppContainers_1.3.0/sdk/containerapps/Azure.ResourceManager.AppContainers/) |
206+
| Resource Management - Container Apps | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.AppContainers/1.3.0)<br>NuGet [1.4.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.AppContainers/1.4.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.AppContainers-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.AppContainers_1.3.0/sdk/containerapps/Azure.ResourceManager.AppContainers/)<br>GitHub [1.4.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.AppContainers_1.4.0-beta.1/sdk/containerapps/Azure.ResourceManager.AppContainers/) |
207207
| Resource Management - Container Instances | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerInstance/1.2.1)<br>NuGet [1.3.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerInstance/1.3.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerInstance-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerInstance_1.2.1/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/)<br>GitHub [1.3.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerInstance_1.3.0-beta.1/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/) |
208208
| Resource Management - Container Registry | NuGet [1.2.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerRegistry/1.2.1)<br>NuGet [1.3.0-beta.2](https://www.nuget.org/packages/Azure.ResourceManager.ContainerRegistry/1.3.0-beta.2) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerRegistry-readme) | GitHub [1.2.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerRegistry_1.2.1/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/)<br>GitHub [1.3.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerRegistry_1.3.0-beta.2/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/) |
209209
| Resource Management - Container Service | NuGet [1.2.3](https://www.nuget.org/packages/Azure.ResourceManager.ContainerService/1.2.3) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerService-readme) | GitHub [1.2.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerService_1.2.3/sdk/containerservice/Azure.ResourceManager.ContainerService/) |

docs/core/compatibility/10.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Breaking changes in .NET 10
33
titleSuffix: ""
44
description: Navigate to the breaking changes in .NET 10.
5-
ms.date: 03/26/2025
5+
ms.date: 04/03/2025
66
ai-usage: ai-assisted
77
no-loc: [Blazor, Razor, Kestrel]
88
---
@@ -51,6 +51,7 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
5151

5252
| Title | Type of change | Introduced version |
5353
|----------------------------------------------------------------------------------------------------------------------|---------------------|--------------------|
54+
| [.NET CLI `--interactive` defaults to `true` in user scenarios](sdk/10.0/dotnet-cli-interactive.md) | Behavioral change | Preview 3 |
5455
| [Default workload configuration from 'loose manifests' to 'workload sets' mode](sdk/10.0/default-workload-config.md) | Behavioral change | Preview 2 |
5556
| [`dotnet restore` audits transitive packages](sdk/10.0/nugetaudit-transitive-packages.md) | Behavioral change | Preview 3 |
5657
| [MSBUILDCUSTOMBUILDEVENTWARNING escape hatch removed](sdk/10.0/custom-build-event-warning.md) | Behavioral change | Preview 1 |

docs/core/compatibility/9.0.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Breaking changes in .NET 9
33
titleSuffix: ""
44
description: Navigate to the breaking changes in .NET 9.
5-
ms.date: 03/26/2025
5+
ms.date: 04/03/2025
66
no-loc: [Blazor, Razor, Kestrel]
77
---
88
# Breaking changes in .NET 9
@@ -68,9 +68,10 @@ If you're migrating an app to .NET 9, the breaking changes listed here might aff
6868

6969
## Deployment
7070

71-
| Title | Type of change | Introduced version |
72-
|-----------------------------------------------------------------------------------------------------|---------------------|--------------------|
73-
| [Deprecated desktop Windows/macOS/Linux MonoVM runtime packages](deployment/9.0/monovm-packages.md) | Source incompatible | Preview 7 |
71+
| Title | Type of change | Introduced version |
72+
|-----------------------------------------------------------------------------------------------------------------|---------------------|--------------------|
73+
| [Deprecated desktop Windows/macOS/Linux MonoVM runtime packages](deployment/9.0/monovm-packages.md) | Source incompatible | Preview 7 |
74+
| [Assembly load directory resolves through symbolic links on Windows](deployment/9.0/assembly-load-directory.md) | Behavioral change | GA |
7475

7576
## Interop
7677

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: "Breaking change - Assembly load directory resolves through symbolic links on Windows"
3+
description: "Learn about the breaking change in .NET 9 where the assembly load directory resolves through symbolic links."
4+
ms.date: 4/3/2025
5+
ai-usage: ai-assisted
6+
ms.custom: https://github.com/dotnet/docs/issues/45584
7+
---
8+
9+
# Assembly load directory resolves through symbolic links on Windows
10+
11+
Starting in .NET 9, the .NET host resolves symbolic links before determining the assembly load directory when running on Windows.
12+
13+
## Version introduced
14+
15+
.NET 9
16+
17+
## Previous behavior
18+
19+
The .NET host didn't resolve symbolic links before calculating load paths. Assembly loads were resolved relative to the symbolic link itself, not the destination of the link.
20+
21+
For example, if an application was laid out as follows:
22+
23+
```
24+
/myapp/
25+
myapp.exe
26+
myapp.dll
27+
```
28+
29+
And a symbolic link was created in another directory:
30+
31+
```
32+
otherdir/
33+
myapp.exe -> /myapp/myapp.exe
34+
```
35+
36+
Executing `otherdir/myapp.exe` would resolve loads relative to `otherdir/`, not `/myapp/`.
37+
38+
## New behavior
39+
40+
The .NET host now resolves the destination of a symbolic link before determining the assembly load directory. Assembly loads are resolved relative to the resolved location of the host file.
41+
42+
Using the same example:
43+
44+
```
45+
/myapp/
46+
myapp.exe
47+
myapp.dll
48+
```
49+
50+
With a symbolic link:
51+
52+
```
53+
otherdir/
54+
myapp.exe -> /myapp/myapp.exe
55+
```
56+
57+
Executing `otherdir/myapp.exe` resolves loads relative to `/myapp/`. Files in `otherdir/` are not considered.
58+
59+
## Type of breaking change
60+
61+
This is a [behavioral change](../../categories.md#behavioral-change).
62+
63+
## Reason for change
64+
65+
The previous behavior on Windows was undocumented, inconsistent with non-Windows implementations, and prevented supported use of symbolic links to the .NET host. This change ensures consistent behavior and enables scenarios where symbolic links to the .NET host are used properly.
66+
67+
## Recommended action
68+
69+
If your application relied on the previous behavior, ensure that all relevant binaries are located in the directory behind the symbolic link, rather than next to it. Avoid constructing a file layout that depends on the symbolic link's location.
70+
71+
## Affected APIs
72+
73+
None.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: "Breaking change - .NET CLI `--interactive` defaults to `true` in user scenarios"
3+
description: "Learn about the breaking change in .NET 10 Preview 3 where the --interactive flag defaults to true in user-centric scenarios."
4+
ms.date: 4/3/2025
5+
ai-usage: ai-assisted
6+
ms.custom: https://github.com/dotnet/docs/issues/45548
7+
---
8+
9+
# .NET CLI `--interactive` defaults to `true` in user scenarios
10+
11+
The `--interactive` flag for the .NET CLI now defaults to `true` in user-centric scenarios. The behavior remains unchanged for CI/CD environments.
12+
13+
## Version introduced
14+
15+
.NET 10 Preview 3
16+
17+
## Previous behavior
18+
19+
The `--interactive` flag always defaulted to `false` unless explicitly specified by the user.
20+
21+
```bash
22+
dotnet restore --interactive
23+
# Required explicitly to enable interactivity
24+
```
25+
26+
## New behavior
27+
28+
The `--interactive` flag defaults to `true` in user-centric scenarios, such as when commands are run directly by a user. In CI/CD environments or when the process output stream is redirected, the flag defaults to `false`.
29+
30+
```bash
31+
dotnet restore
32+
# Interactivity is enabled by default in user-centric scenarios
33+
```
34+
35+
## Type of breaking change
36+
37+
This is a [behavioral change](../../categories.md#behavioral-change).
38+
39+
## Reason for change
40+
41+
This change improves the user experience by:
42+
43+
- Simplifying NuGet authentication, addressing a common pain point.
44+
- Providing a unified signal for enabling future CLI interactivity features.
45+
46+
## Recommended action
47+
48+
No action is required for most users. To explicitly disable interactivity, pass the `--interactive false` flag:
49+
50+
```bash
51+
dotnet restore --interactive false
52+
```
53+
54+
## Affected APIs
55+
56+
None.

docs/core/compatibility/toc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ items:
4242
href: globalization/10.0/version-override.md
4343
- name: SDK and MSBuild
4444
items:
45+
- name: .NET CLI `--interactive` defaults to `true` in user scenarios
46+
href: sdk/10.0/dotnet-cli-interactive.md
4547
- name: "`dotnet restore` audits transitive packages"
4648
href: sdk/10.0/nugetaudit-transitive-packages.md
4749
- name: Default workload configuration from 'loose manifests' to 'workload sets' mode
@@ -140,6 +142,8 @@ items:
140142
items:
141143
- name: Deprecated desktop Windows/macOS/Linux MonoVM runtime packages
142144
href: deployment/9.0/monovm-packages.md
145+
- name: Assembly load directory resolves through symbolic links on Windows
146+
href: deployment/9.0/assembly-load-directory.md
143147
- name: Entity Framework Core
144148
href: /ef/core/what-is-new/ef-core-9.0/breaking-changes?toc=/dotnet/core/compatibility/toc.json&bc=/dotnet/breadcrumb/toc.json
145149
- name: Interop
@@ -1678,6 +1682,8 @@ items:
16781682
items:
16791683
- name: Deprecated desktop Windows/macOS/Linux MonoVM runtime packages
16801684
href: deployment/9.0/monovm-packages.md
1685+
- name: Assembly load directory resolves through symbolic links on Windows
1686+
href: deployment/9.0/assembly-load-directory.md
16811687
- name: .NET 8
16821688
items:
16831689
- name: Host determines RID-specific assets
@@ -1910,6 +1916,8 @@ items:
19101916
items:
19111917
- name: .NET 10
19121918
items:
1919+
- name: .NET CLI `--interactive` defaults to `true` in user scenarios
1920+
href: sdk/10.0/dotnet-cli-interactive.md
19131921
- name: "`dotnet restore` audits transitive packages"
19141922
href: sdk/10.0/nugetaudit-transitive-packages.md
19151923
- name: Default workload configuration from 'loose manifests' to 'workload sets' mode

0 commit comments

Comments
 (0)