Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ai/includes/vector-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Semantic Kernel provides connectors for the following vector databases and servi
| 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) |
| Azure PostgreSQL Server | [Microsoft.SemanticKernel.Connectors.Postgres](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Postgres) | [Npgsql](https://www.nuget.org/packages/Npgsql/) |
| 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) |
| Chroma | [Microsoft.SemanticKernel.Connectors.Chroma](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Chroma) | NA |
| Chroma | [Microsoft.SemanticKernel.Connectors.Chroma](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Chroma) | [ChromaDB.Client](https://www.nuget.org/packages/ChromaDB.Client) |
| 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) |
| Milvus | [Microsoft.SemanticKernel.Connectors.Milvus](https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Milvus) | [Milvus.Client](https://www.nuget.org/packages/Milvus.Client) |
| 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) |
Expand Down
2 changes: 1 addition & 1 deletion docs/azure/includes/dotnet-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
Expand Down
2 changes: 1 addition & 1 deletion docs/azure/includes/dotnet-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
| 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/) |
Expand Down
2 changes: 1 addition & 1 deletion docs/core/compatibility/10.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
| [NU1510 is raised for direct references pruned by NuGet](sdk/10.0/nu1510-pruned-references.md) | Source incompatible | Preview 1 |
| [NuGet packages with no runtime assets aren't included in deps.json](sdk/10.0/deps-json-trimmed-packages.md) | Source incompatible | Preview 5 |
| [PackageReference without a version raises an error](sdk/10.0/nu1015-packagereference-version.md) | Behavioral change | Preview 6 |
| [PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none](sdk/10.0/prune-packagereference-privateassets.md) | Behavioral change | Preview 7 |
| [PrunePackageReference privatizes direct prunable references](sdk/10.0/prune-packagereference-privateassets.md) | Behavioral change | Preview 7 |
| [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 |
| [NUGET_ENABLE_ENHANCED_HTTP_RETRY environment variable removed](sdk/10.0/nuget-enhanced-http-retry-removed.md) | Behavioral change | Preview 6 |

Expand Down
15 changes: 9 additions & 6 deletions docs/core/compatibility/sdk/10.0/nu1510-pruned-references.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
---
title: "Breaking change - NU1510 is raised for direct references pruned by NuGet"
description: "Learn about the breaking change in the .NET 10 SDK where NU1510 is raised for unnecessary direct package references."
ms.date: 08/11/2025
ms.date: 09/04/2025
ai-usage: ai-assisted
ms.custom: https://github.com/dotnet/docs/issues/45462
---

# NU1510 is raised for direct references pruned by NuGet

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.
Starting in the .NET 10 SDK, when pruning is enabled, NuGet raises a [`NU1510` warning](/nuget/reference/errors-and-warnings/nu1510) for projects that:

- Target or multi-target .NET 10 or a later version.
- Include a direct package reference that overlaps with a framework-provided library (that is, the reference isn't necessary).

## Version introduced

.NET 10 Preview 1
.NET 10

## Previous behavior

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.

## New behavior

Starting in .NET 10, NuGet handles any unnecessary package references by raising a `NU1510` warning to notify you of the issue.
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.

> [!NOTE]
> 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).
> 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.

## Type of breaking change

Expand Down Expand Up @@ -56,4 +59,4 @@ None.

## See also

- [PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none](prune-packagereference-privateassets.md)
- [PrunePackageReference privatizes direct prunable references](prune-packagereference-privateassets.md)
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: "Breaking change - PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none"
title: "Breaking change - PrunePackageReference privatizes direct prunable references"
description: "Learn about the breaking change in the .NET 10 SDK where PrunePackageReference automatically marks directly prunable PackageReference with PrivateAssets=all and IncludeAssets=none."
ms.date: 01/03/2025
ms.date: 09/04/2025
ai-usage: ai-assisted
---

# PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none
# PrunePackageReference privatizes direct prunable references

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.

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

## Previous behavior

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.
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.

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

```xml
<PropertyGroup>
<TargetFramework>net9.0;net472</TargetFramework>
<TargetFramework>net10.0;net472</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="9.0.4" />
<PackageReference Include="System.Text.Json" Version="9.0.8" />
</ItemGroup>
```

Expand All @@ -34,26 +34,26 @@ Such a project file generated a *.nuspec* file with dependencies for both target
```xml
<dependencies>
<group targetFramework=".NETFramework4.7.2">
<dependency id="System.Text.Json" version="9.0.4" />
<dependency id="System.Text.Json" version="9.0.8" />
</group>
<group targetFramework="net9.0">
<dependency id="System.Text.Json" version="9.0.4" />
<group targetFramework="net10.0">
<dependency id="System.Text.Json" version="9.0.8" />
</group>
</dependencies>
```

## New behavior

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.
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.)

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

```xml
<dependencies>
<group targetFramework=".NETFramework4.7.2">
<dependency id="System.Text.Json" version="9.0.4" />
<dependency id="System.Text.Json" version="9.0.8" />
</group>
<group targetFramework="net9.0">
<group targetFramework="net10.0">
</group>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/core/compatibility/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ items:
href: sdk/10.0/deps-json-trimmed-packages.md
- name: PackageReference without a version raises error
href: sdk/10.0/nu1015-packagereference-version.md
- name: PrunePackageReference marks direct prunable references with PrivateAssets=all and IncludeAssets=none
- name: PrunePackageReference privatizes direct prunable references
href: sdk/10.0/prune-packagereference-privateassets.md
- name: HTTP warnings promoted to errors in package list and search
href: sdk/10.0/http-warnings-to-errors.md
Expand Down
3 changes: 3 additions & 0 deletions docs/core/tools/dotnet-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,9 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest.

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

> [!NOTE]
> 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.

- **`-v|--verbosity <LEVEL>`**

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>.
Expand Down
19 changes: 15 additions & 4 deletions docs/visual-basic/language-reference/queries/group-by-clause.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,31 @@ Groups the elements of a query result. Can also be used to apply aggregate funct
Group [ listField1 [, listField2 [...] ] By keyExp1 [, keyExp2 [...] ]
Into aggregateList
```

-or-

```vb
Group [ listField1 [, listField2 [...] ] By alias1 = keyExp1 [, alias2 = keyExp2 [...] ]
Into aggregateList
```

## Parts

- `listField1`, `listField2`

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.

- `alias1`, `alias2`

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.

- `keyExp1`

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.

- `keyExp2`
Optional. One or more additional keys that are combined with `keyExp1` to create a composite key.

Optional. One or more additional keys that are combined with `keyExp1` to create a composite key.

- `aggregateList`

Expand Down
7 changes: 7 additions & 0 deletions docs/visual-basic/misc/bc30981.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@ ms.assetid: fb68e246-c135-4e7a-a1be-12d83dbcf96f
---
# \<member> in class \<class> cannot override \<baseMember> in class \<baseClass> because an intermediate class \<intermediateClass> overrides \<member> in class \<baseClass> but is not accessible.

**Error ID:** BC30981

## To correct this error

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

## See also

- [Access levels in Visual Basic](../programming-guide/language-features/declared-elements/access-levels.md)
Expand Down
4 changes: 4 additions & 0 deletions docs/visual-basic/misc/bc31199.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ ms.assetid: c150778e-c82d-4e6e-acc0-06080eece1d1

## To correct this error

- Update to a supported version of .NET Framework that includes the required components for Win32 manifest embedding.
- Remove the `/win32manifest` compiler option if Win32 manifest embedding is not required for your project.
- Verify that the .NET Framework installation is complete and includes the necessary updates for manifest support.

## See also

- [-win32manifest (Visual Basic)](../reference/command-line-compiler/win32manifest.md)
Loading
Loading