Skip to content

Commit 945c821

Browse files
Merge pull request #48269 from dotnet/main
Merge main into live
2 parents ce07c0f + 96233be commit 945c821

File tree

25 files changed

+246
-86
lines changed

25 files changed

+246
-86
lines changed

docs/ai/includes/vector-databases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Semantic Kernel provides connectors for the following vector databases and servi
1616
| Azure Cosmos DB for MongoDB | [Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB) | [MongoDb.Driver](https://www.nuget.org/packages/MongoDB.Driver) |
1717
| Azure PostgreSQL Server | [Microsoft.SemanticKernel.Connectors.Postgres](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Postgres) | [Npgsql](https://www.nuget.org/packages/Npgsql/) |
1818
| Azure SQL Database | [Microsoft.SemanticKernel.Connectors.SqlServer](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.SqlServer) | [Microsoft.Data.SqlClient](https://www.nuget.org/packages/Microsoft.Data.SqlClient) |
19-
| Chroma | [Microsoft.SemanticKernel.Connectors.Chroma](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Chroma) | NA |
19+
| Chroma | [Microsoft.SemanticKernel.Connectors.Chroma](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Chroma) | [ChromaDB.Client](https://www.nuget.org/packages/ChromaDB.Client) |
2020
| DuckDB | [Microsoft.SemanticKernel.Connectors.DuckDB](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.DuckDB) | [DuckDB.NET.Data.Full](https://www.nuget.org/packages/DuckDB.NET.Data.Full) |
2121
| Milvus | [Microsoft.SemanticKernel.Connectors.Milvus](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Milvus) | [Milvus.Client](https://www.nuget.org/packages/Milvus.Client) |
2222
| MongoDB Atlas Vector Search | [Microsoft.SemanticKernel.Connectors.MongoDB](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.MongoDB) | [MongoDb.Driver](https://www.nuget.org/packages/MongoDB.Driver) |

docs/azure/includes/dotnet-all.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
| Resource Management - IoT Operations | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.IotOperations/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.IotOperations-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.IotOperations_1.0.0/sdk/iotoperations/Azure.ResourceManager.IotOperations/) |
280280
| Resource Management - Key Vault | NuGet [1.3.2](https://www.nuget.org/packages/Azure.ResourceManager.KeyVault/1.3.2) | [docs](/dotnet/api/overview/azure/ResourceManager.KeyVault-readme) | GitHub [1.3.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.KeyVault_1.3.2/sdk/keyvault/Azure.ResourceManager.KeyVault/) |
281281
| Resource Management - Kubernetes Configuration | NuGet [1.2.0](https://www.nuget.org/packages/Azure.ResourceManager.KubernetesConfiguration/1.2.0) | [docs](/dotnet/api/overview/azure/ResourceManager.KubernetesConfiguration-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.KubernetesConfiguration_1.2.0/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/) |
282-
| Resource Management - Kusto | NuGet [1.6.1](https://www.nuget.org/packages/Azure.ResourceManager.Kusto/1.6.1) | [docs](/dotnet/api/overview/azure/ResourceManager.Kusto-readme) | GitHub [1.6.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Kusto_1.6.1/sdk/kusto/Azure.ResourceManager.Kusto/) |
282+
| Resource Management - Kusto | NuGet [1.6.2](https://www.nuget.org/packages/Azure.ResourceManager.Kusto/1.6.2) | [docs](/dotnet/api/overview/azure/ResourceManager.Kusto-readme) | GitHub [1.6.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Kusto_1.6.2/sdk/kusto/Azure.ResourceManager.Kusto/) |
283283
| Resource Management - Lab Services | NuGet [1.1.1](https://www.nuget.org/packages/Azure.ResourceManager.LabServices/1.1.1) | [docs](/dotnet/api/overview/azure/ResourceManager.LabServices-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.LabServices_1.1.1/sdk/labservices/Azure.ResourceManager.LabServices/) |
284284
| Resource Management - Lambdatesthyperexecute | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.LambdaTestHyperExecute/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.LambdaTestHyperExecute-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.LambdaTestHyperExecute_1.0.0/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/) |
285285
| Resource Management - Large Instance | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.ResourceManager.LargeInstance/1.0.0-beta.2) | [docs](/dotnet/api/overview/azure/ResourceManager.LargeInstance-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.LargeInstance_1.0.0-beta.2/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/) |

docs/azure/includes/dotnet-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
| Resource Management - IoT Operations | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.IotOperations/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.IotOperations-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.IotOperations_1.0.0/sdk/iotoperations/Azure.ResourceManager.IotOperations/) |
289289
| Resource Management - Key Vault | NuGet [1.3.2](https://www.nuget.org/packages/Azure.ResourceManager.KeyVault/1.3.2) | [docs](/dotnet/api/overview/azure/ResourceManager.KeyVault-readme) | GitHub [1.3.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.KeyVault_1.3.2/sdk/keyvault/Azure.ResourceManager.KeyVault/) |
290290
| Resource Management - Kubernetes Configuration | NuGet [1.2.0](https://www.nuget.org/packages/Azure.ResourceManager.KubernetesConfiguration/1.2.0) | [docs](/dotnet/api/overview/azure/ResourceManager.KubernetesConfiguration-readme) | GitHub [1.2.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.KubernetesConfiguration_1.2.0/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/) |
291-
| Resource Management - Kusto | NuGet [1.6.1](https://www.nuget.org/packages/Azure.ResourceManager.Kusto/1.6.1) | [docs](/dotnet/api/overview/azure/ResourceManager.Kusto-readme) | GitHub [1.6.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Kusto_1.6.1/sdk/kusto/Azure.ResourceManager.Kusto/) |
291+
| Resource Management - Kusto | NuGet [1.6.2](https://www.nuget.org/packages/Azure.ResourceManager.Kusto/1.6.2) | [docs](/dotnet/api/overview/azure/ResourceManager.Kusto-readme) | GitHub [1.6.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Kusto_1.6.2/sdk/kusto/Azure.ResourceManager.Kusto/) |
292292
| Resource Management - Lab Services | NuGet [1.1.1](https://www.nuget.org/packages/Azure.ResourceManager.LabServices/1.1.1) | [docs](/dotnet/api/overview/azure/ResourceManager.LabServices-readme) | GitHub [1.1.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.LabServices_1.1.1/sdk/labservices/Azure.ResourceManager.LabServices/) |
293293
| Resource Management - Lambdatesthyperexecute | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.LambdaTestHyperExecute/1.0.0) | [docs](/dotnet/api/overview/azure/ResourceManager.LambdaTestHyperExecute-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.LambdaTestHyperExecute_1.0.0/sdk/lambdatesthyperexecute/Azure.ResourceManager.LambdaTestHyperExecute/) |
294294
| Resource Management - Large Instance | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.ResourceManager.LargeInstance/1.0.0-beta.2) | [docs](/dotnet/api/overview/azure/ResourceManager.LargeInstance-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.LargeInstance_1.0.0-beta.2/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/) |

docs/core/compatibility/10.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
115115
| [NU1510 is raised for direct references pruned by NuGet](sdk/10.0/nu1510-pruned-references.md) | Source incompatible | Preview 1 |
116116
| [NuGet packages with no runtime assets aren't included in deps.json](sdk/10.0/deps-json-trimmed-packages.md) | Source incompatible | Preview 5 |
117117
| [PackageReference without a version raises an error](sdk/10.0/nu1015-packagereference-version.md) | Behavioral change | Preview 6 |
118-
| [PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none](sdk/10.0/prune-packagereference-privateassets.md) | Behavioral change | Preview 7 |
118+
| [PrunePackageReference privatizes direct prunable references](sdk/10.0/prune-packagereference-privateassets.md) | Behavioral change | Preview 7 |
119119
| [HTTP warnings promoted to errors in `dotnet package list` and `dotnet package search`](sdk/10.0/http-warnings-to-errors.md) | Behavioral/source incompatible change | Preview 4 |
120120
| [NUGET_ENABLE_ENHANCED_HTTP_RETRY environment variable removed](sdk/10.0/nuget-enhanced-http-retry-removed.md) | Behavioral change | Preview 6 |
121121

docs/core/compatibility/sdk/10.0/nu1510-pruned-references.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
---
22
title: "Breaking change - NU1510 is raised for direct references pruned by NuGet"
33
description: "Learn about the breaking change in the .NET 10 SDK where NU1510 is raised for unnecessary direct package references."
4-
ms.date: 08/11/2025
4+
ms.date: 09/04/2025
55
ai-usage: ai-assisted
66
ms.custom: https://github.com/dotnet/docs/issues/45462
77
---
88

99
# NU1510 is raised for direct references pruned by NuGet
1010

11-
Starting in .NET 10, NuGet raises a [`NU1510` warning](/nuget/reference/errors-and-warnings/nu1510) when a project includes a direct package reference that overlaps with a framework-provided library and isn't required.
11+
Starting in the .NET 10 SDK, when pruning is enabled, NuGet raises a [`NU1510` warning](/nuget/reference/errors-and-warnings/nu1510) for projects that:
12+
13+
- Target or multi-target .NET 10 or a later version.
14+
- Include a direct package reference that overlaps with a framework-provided library (that is, the reference isn't necessary).
1215

1316
## Version introduced
1417

15-
.NET 10 Preview 1
18+
.NET 10
1619

1720
## Previous behavior
1821

1922
Previously, the .NET SDK ignored the contents of a package if it overlapped with a framework-provided library. The package reference was allowed but had no effect on the build output.
2023

2124
## New behavior
2225

23-
Starting in .NET 10, NuGet handles any unnecessary package references by raising a `NU1510` warning to notify you of the issue.
26+
Starting with the .NET 10 SDK, if pruning is enabled and the project targets .NET 10 or a later version, NuGet notifies you of any unnecessary package references by raising a `NU1510` warning.
2427

2528
> [!NOTE]
26-
> In a later .NET 10 preview, this behavior changed again such that direct prunable package references are automatically excluded from the `.nuspec` file. For more information, see [PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none](prune-packagereference-privateassets.md).
29+
> In a later .NET 10 preview, a related change was made such that [direct prunable package references](prune-packagereference-privateassets.md) are automatically excluded from the `.nuspec` file. However, you'll still get the `NU1510` warning to clean up your project.
2730
2831
## Type of breaking change
2932

@@ -56,4 +59,4 @@ None.
5659

5760
## See also
5861

59-
- [PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none](prune-packagereference-privateassets.md)
62+
- [PrunePackageReference privatizes direct prunable references](prune-packagereference-privateassets.md)

docs/core/compatibility/sdk/10.0/prune-packagereference-privateassets.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: "Breaking change - PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none"
2+
title: "Breaking change - PrunePackageReference privatizes direct prunable references"
33
description: "Learn about the breaking change in the .NET 10 SDK where PrunePackageReference automatically marks directly prunable PackageReference with PrivateAssets=all and IncludeAssets=none."
4-
ms.date: 01/03/2025
4+
ms.date: 09/04/2025
55
ai-usage: ai-assisted
66
---
77

8-
# PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none
8+
# PrunePackageReference privatizes direct prunable references
99

1010
The [PrunePackageReference](/nuget/consume-packages/package-references-in-project-files#prunepackagereference) feature automatically removes *transitive* packages that are provided by the target platform. With this change, the feature also marks *directly* prunable `PackageReference` items with `PrivateAssets=all` and `IncludeAssets=none` attributes. These attributes prevent the packages from appearing in generated dependency lists for packages.
1111

@@ -15,17 +15,17 @@ The [PrunePackageReference](/nuget/consume-packages/package-references-in-projec
1515

1616
## Previous behavior
1717

18-
In earlier .NET 10 previews, directly prunable `PackageReference` items might have generated an [`NU1510` warning](/nuget/reference/errors-and-warnings/nu1510) but still appeared in the generated *.nuspec* dependencies for all target frameworks, even those where the package is provided by the platform.
18+
Starting in .NET 10 Preview 1, if pruning was enabled, directly prunable `PackageReference` items might have generated an [`NU1510` warning](/nuget/reference/errors-and-warnings/nu1510) but still appeared in the generated *.nuspec* dependencies list, even if the package was provided by the platform.
1919

2020
For example, consider a multi-targeting project with the following configuration:
2121

2222
```xml
2323
<PropertyGroup>
24-
<TargetFramework>net9.0;net472</TargetFramework>
24+
<TargetFramework>net10.0;net472</TargetFramework>
2525
</PropertyGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="System.Text.Json" Version="9.0.4" />
28+
<PackageReference Include="System.Text.Json" Version="9.0.8" />
2929
</ItemGroup>
3030
```
3131

@@ -34,26 +34,26 @@ Such a project file generated a *.nuspec* file with dependencies for both target
3434
```xml
3535
<dependencies>
3636
<group targetFramework=".NETFramework4.7.2">
37-
<dependency id="System.Text.Json" version="9.0.4" />
37+
<dependency id="System.Text.Json" version="9.0.8" />
3838
</group>
39-
<group targetFramework="net9.0">
40-
<dependency id="System.Text.Json" version="9.0.4" />
39+
<group targetFramework="net10.0">
40+
<dependency id="System.Text.Json" version="9.0.8" />
4141
</group>
4242
</dependencies>
4343
```
4444

4545
## New behavior
4646

47-
Starting in .NET 10 Preview 7, directly prunable `PackageReference` items are automatically marked with `PrivateAssets=all` and `IncludeAssets=none`, which excludes them from the generated dependencies for target frameworks where they're provided by the platform.
47+
Starting in .NET 10 Preview 7, when pruning is enabled, directly prunable `PackageReference` items are automatically marked with `PrivateAssets=all` and `IncludeAssets=none`, which excludes them from the generated dependencies for target frameworks where they're provided by the platform. (However, if your project targets .NET 10 or later, you'll still get the `NU1510` warning until you remove the reference from your project.)
4848

49-
The same project configuration now generates a *.nuspec* file with the prunable dependency removed from the target framework that provides it (.NET 9):
49+
The same project configuration now generates a *.nuspec* file with the prunable dependency removed from the target framework that provides it (.NET 10):
5050

5151
```xml
5252
<dependencies>
5353
<group targetFramework=".NETFramework4.7.2">
54-
<dependency id="System.Text.Json" version="9.0.4" />
54+
<dependency id="System.Text.Json" version="9.0.8" />
5555
</group>
56-
<group targetFramework="net9.0">
56+
<group targetFramework="net10.0">
5757
</group>
5858
</dependencies>
5959
```

docs/core/compatibility/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ items:
132132
href: sdk/10.0/deps-json-trimmed-packages.md
133133
- name: PackageReference without a version raises error
134134
href: sdk/10.0/nu1015-packagereference-version.md
135-
- name: PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none
135+
- name: PrunePackageReference privatizes direct prunable references
136136
href: sdk/10.0/prune-packagereference-privateassets.md
137137
- name: HTTP warnings promoted to errors in package list and search
138138
href: sdk/10.0/http-warnings-to-errors.md

docs/core/tools/dotnet-test.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,9 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest.
496496

497497
Short form `-r` available starting in .NET SDK 7.
498498

499+
> [!NOTE]
500+
> Running tests for a solution with a global `RuntimeIdentifier` property (explicitly or via `--arch`, `--runtime`, or `--os`) is not supported. Set `RuntimeIdentifier` on an individual project level instead.
501+
499502
- **`-v|--verbosity <LEVEL>`**
500503

501504
Sets the MSBuild verbosity level. Allowed values are `q[uiet]`, `m[inimal]`, `n[ormal]`, `d[etailed]`, and `diag[nostic]`. For more information, see <xref:Microsoft.Build.Framework.LoggerVerbosity>.

docs/visual-basic/language-reference/queries/group-by-clause.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,31 @@ Groups the elements of a query result. Can also be used to apply aggregate funct
2424
Group [ listField1 [, listField2 [...] ] By keyExp1 [, keyExp2 [...] ]
2525
Into aggregateList
2626
```
27+
28+
-or-
29+
30+
```vb
31+
Group [ listField1 [, listField2 [...] ] By alias1 = keyExp1 [, alias2 = keyExp2 [...] ]
32+
Into aggregateList
33+
```
2734

2835
## Parts
2936

3037
- `listField1`, `listField2`
3138

3239
Optional. One or more fields of the query variable or variables that explicitly identify the fields to be included in the grouped result. If no fields are specified, all fields of the query variable or variables are included in the grouped result.
3340

41+
- `alias1`, `alias2`
42+
43+
Optional. Names that are assigned to the grouping keys. If aliases are provided, they can be referenced in the query result instead of the key expressions.
44+
3445
- `keyExp1`
35-
46+
3647
Required. An expression that identifies the key to use to determine the groups of elements. You can specify more than one key to specify a composite key.
37-
48+
3849
- `keyExp2`
39-
40-
Optional. One or more additional keys that are combined with `keyExp1` to create a composite key.
50+
51+
Optional. One or more additional keys that are combined with `keyExp1` to create a composite key.
4152

4253
- `aggregateList`
4354

docs/visual-basic/misc/bc30981.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@ ms.assetid: fb68e246-c135-4e7a-a1be-12d83dbcf96f
1111
---
1212
# \<member> in class \<class> cannot override \<baseMember> in class \<baseClass> because an intermediate class \<intermediateClass> overrides \<member> in class \<baseClass> but is not accessible.
1313

14+
**Error ID:** BC30981
15+
1416
## To correct this error
1517

18+
- Change the inheritance structure to directly inherit from the base class instead of going through the intermediate class.
19+
- Make the intermediate class accessible by changing its access modifier to `Public` or an appropriate level.
20+
- Override the member at the appropriate level in the inheritance hierarchy where it is accessible.
21+
- Review the class design to ensure proper access levels throughout the inheritance chain.
22+
1623
## See also
1724

1825
- [Access levels in Visual Basic](../programming-guide/language-features/declared-elements/access-levels.md)

0 commit comments

Comments
 (0)