You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-tools/create-a-simple-data-application-with-wpf-and-entity-framework-6.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: ghogen
6
6
manager: mijacobs
7
7
ms.subservice: data-tools
8
8
ms.topic: tutorial
9
-
ms.date: 03/27/2025
9
+
ms.date: 7/2/2025
10
10
dev_langs:
11
11
- CSharp
12
12
@@ -17,7 +17,7 @@ dev_langs:
17
17
# Create a basic data application with WPF and Entity Framework 6
18
18
19
19
::: moniker range="vs-2022"
20
-
> [!WARNING]
20
+
> [!NOTE]
21
21
> If you're running Visual Studio 2022, ensure you use version 17.3 or later for this tutorial.
22
22
::: moniker-end
23
23
@@ -41,7 +41,7 @@ In this tutorial, you:
41
41
42
42
## Prerequisites
43
43
44
-
*[Visual Studio](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) with the **Windows Communication Foundation** component installed. To install it:
44
+
*[Visual Studio](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) with **.NET Desktop Development** workload installed, and the **Windows Communication Foundation** component installed. To install it:
45
45
46
46
1. Open the **Visual Studio Installer** app, or select **Tools** > **Get Tools and Features** from the Visual Studio menu.
47
47
1. In **Visual Studio Installer**, choose **Modify** next to the version of Visual Studio you want to modify.
@@ -52,6 +52,8 @@ In this tutorial, you:
52
52
53
53
* SQL Server Object Explorer. To install it, install the **Data storage and processing** workload in the **Visual Studio Installer** app.
54
54
55
+
* Entity Framework 6 tools. This is usually installed when you install the **.NET Dektop Development** workload.
56
+
55
57
## Install and connect to Northwind
56
58
57
59
The following example uses SQL Server Express LocalDB and the Northwind sample database. If the ADO.NET data provider for that product supports Entity Framework, it should work with other SQL database products as well.
Copy file name to clipboardExpand all lines: docs/ide/intellicode-visual-studio.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: IntelliCode for Visual Studio
3
3
titleSuffix: ""
4
4
description: Read an overview of IntelliCode for Visual Studio. Understand preview features, supported languages, prerequisites, troubleshooting issues, and telemetry.
5
-
ms.date: 4/1/2025
5
+
ms.date: 7/2/2025
6
6
ms.service: visual-studio-family
7
7
ms.subservice: intellicode
8
8
ms.topic: conceptual
@@ -88,7 +88,7 @@ If disabling extensions that override IntelliSense UI doesn't solve the problem
88
88
89
89
IntelliCode captures some anonymized usage and error-reporting data to help improve the product. No user-defined code is sent to Microsoft, but we do collect information about your use of the IntelliCode results. For base model suggestions, which are open source or .NET types and members, we capture whether you selected an IntelliCode suggestion and log the name of the suggestion. Microsoft uses the data to monitor the quality of the base model. For custom models, we capture whether you selected an IntelliCode suggestion but *don't* log the names of your user-defined types or methods.
90
90
91
-
To turn off data collection for IntelliCode, opt out of the [Visual Studio Experience Improvement Program](visual-studio-experience-improvement-program.md). From the menu bar, select **Help** > **Send Feedback** > **Settings**. In the **Visual Studio Experience Improvement Program** dialog, select **No, I would not like to participate** and then select **OK**.
91
+
To turn off data collection for IntelliCode, opt out of the [Visual Studio Experience Improvement Program](visual-studio-experience-improvement-program.md). From the menu bar, select **Help** > **Privacy** > **Privacy Settings**. In the **Visual Studio Experience Improvement Program** dialog, select **No, I would not like to participate** and then select **OK**.
Copy file name to clipboardExpand all lines: docs/ide/visual-studio-whole-line-completions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ This feature supports C# in Visual Studio 2022.
18
18
19
19

20
20
21
+
To turn text predictions off, disable the IntelliCode extension. Select **Extensions** > **Manage Extensions** from the menu, find and select the IntelliCode extension, and then click **Disable**.
22
+
21
23
## How it works
22
24
23
25
IntelliCode uses a large scale transformer model, trained on around half a million public, open-source repos from GitHub. This model makes predictions on what you type next based on a rich knowledge of what you have coded so far, including:
This error occurs during a build when more than one version of the same dependent assembly is referenced in a build of the same project. In a .NET build, all assemblies that are referenced, directly or indirectly through other referenced assemblies, have to resolve to the same version. You can't reference two different and conflicting versions of the same assembly when building the same binary. The [ResolveAssemblyReference task](../resolveassemblyreference-task.md) emits this error. The task inspects all the referenced assemblies, and all assemblies referenced indirectly by those assemblies, and so on. The task works through the process until all assembly references are resolved.
37
+
This warning occurs during a build when more than one version of the same dependent assembly is referenced in a build of the same project. In a .NET build, all assemblies that are referenced, directly or indirectly through other referenced assemblies, have to resolve to the same version. You shouldn't reference two different and conflicting versions of the same assembly when building the same binary. The [ResolveAssemblyReference task](../resolveassemblyreference-task.md) emits this warning. The task inspects all the referenced assemblies, and all assemblies referenced indirectly by those assemblies, and so on. The task works through the process until all assembly references are resolved.
38
38
39
-
## Diagnose the error
39
+
## Diagnose the warning
40
40
41
-
To diagnose the error, first enable diagnostic log output by using the `-verbosity:diag` command-line switch, and then check the MSBuild log file with the full diagnostics output. For longer output logs on large projects, consider using the binary log `-bl` command-line switch and the [MSBuild Structured Log Viewer](https://msbuildlog.com/) to view the output more easily.
41
+
To diagnose the issue, first enable diagnostic log output by using the `-verbosity:diag` command-line switch, and then check the MSBuild log file with the full diagnostics output. For longer output logs on large projects, consider using the binary log `-bl` command-line switch and the [MSBuild Structured Log Viewer](https://msbuildlog.com/) to view the output more easily.
42
42
43
43
In MSBuild 16.x or later, the specific assembly versions in conflict are written to the log file. In earlier versions of MSBuild, the content isn't added to the log file. Instead, follow the assembly dependency chain to locate the conflicting reference. Look at each assembly that your project references, and then the assemblies that the initial assemblies reference, and so on. Follow this process until you identify the conflicting assembly versions.
44
44
@@ -108,10 +108,10 @@ Visual Studio or settings in project files can enable or disable automatic bindi
108
108
109
109
In advanced scenarios, your project might intentionally require more than one version of the same assembly. You can use special techniques to override the normal assembly loading process to accomplish the goal. For more information, see [Resolve assembly loads](/dotnet/standard/assembly/resolve-loads). Be sure to understand and follow the guidance in [Best practices for assembly loading](/dotnet/framework/deployment/best-practices-for-assembly-loading).
110
110
111
-
For a guide on resolving errors with assembly references, see [Troubleshoot assembly references](../troubleshoot-assembly-references.md) and [How the runtime locates assemblies](/dotnet/framework/deployment/how-the-runtime-locates-assemblies).
111
+
For a guide on resolving issues with assembly references, see [Troubleshoot assembly references](../troubleshoot-assembly-references.md) and [How the runtime locates assemblies](/dotnet/framework/deployment/how-the-runtime-locates-assemblies).
Copy file name to clipboardExpand all lines: docs/msbuild/item-functions.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Call item functions from MSBuild code
3
3
description: Explore how MSBuild code in tasks and targets can call item functions to get information about the items in the project.
4
-
ms.date: 2/7/2025
4
+
ms.date: 7/2/2025
5
5
ms.topic: how-to
6
6
helpviewer_keywords:
7
7
- msbuild, Item functions
@@ -57,11 +57,11 @@ The table below lists the intrinsic functions available for items.
57
57
|`Exists`|`@(MyItems->Exists())`|Filters a set of items to those that actually exist on disk.|
58
58
|`GetPathsOfAllDirectoriesAbove`|`@(MyItems->GetPathsOfAllFilesAbove())`|Given a set of items, returns items representing all the ancestor directories. No order is guaranteed.|
59
59
|`Reverse`|`@(MyItems->Reverse())`|Returns the items in reverse order.|
60
-
|`AnyHaveMetadataValue`|`@(MyItems->AnyHaveMetadataValue("MetadataName", "MetadataValue"))`| Returns a `boolean` to indicate whether any item has the given metadata name and value. The comparison is case insensitive. |
60
+
|`AnyHaveMetadataValue`|`@(MyItems->AnyHaveMetadataValue('MetadataName', 'MetadataValue'))`| Returns a `boolean` to indicate whether any item has the given metadata name and value. The comparison is case insensitive. |
61
61
|`ClearMetadata`|`@(MyItems->ClearMetadata())`|Returns items with their metadata cleared. Only the `itemspec` is retained.|
62
-
|`HasMetadata`|`@(MyItems->HasMetadata("MetadataName"))`|Returns items that have the given metadata name. The comparison is case insensitive.|
63
-
|`Metadata`|`@(MyItems->Metadata("MetadataName"))`|Returns the values of the metadata that have the metadata name. The items returned have the same metadata as the source values.|
64
-
|`WithMetadataValue`|`@(MyItems->WithMetadataValue("MetadataName", "MetadataValue"))`|Returns items that have the given metadata name and value. The comparison is case insensitive.|
62
+
|`HasMetadata`|`@(MyItems->HasMetadata('MetadataName'))`|Returns items that have the given metadata name. The comparison is case insensitive.|
63
+
|`Metadata`|`@(MyItems->Metadata('MetadataName'))`|Returns the values of the metadata that have the metadata name. The items returned have the same metadata as the source values.|
64
+
|`WithMetadataValue`|`@(MyItems->WithMetadataValue('MetadataName', 'MetadataValue'))`|Returns items that have the given metadata name and value. The comparison is case insensitive.|
65
65
66
66
> [!NOTE]
67
67
> `Exists` can also be used in other contexts; in [MSBuild conditions](msbuild-conditions.md), for example `Condition="Exists('path')"`; or in [Static property functions](property-functions.md), for example `$([System.IO.File]::Exists("path"))`.
0 commit comments