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/connect-to-data-in-an-access-database-windows-forms.md
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,6 @@ To use these procedures, you need:
37
37
- A Windows Forms or Windows Presentation Foundation (WPF) project
38
38
- Either an Access database (`.accdb` file), or an Access 2000-2003 database (`.mdb` file). Follow the procedure that corresponds to your file type.
39
39
40
-
:::moniker range=">=vs-2022"
41
-
42
40
## Create a dataset for an .accdb file
43
41
44
42
Connect to databases created with Microsoft 365, Access 2016, Access 2013, Access 2010, or Access 2007 by using the following procedure.
@@ -47,7 +45,13 @@ Connect to databases created with Microsoft 365, Access 2016, Access 2013, Acces
47
45
48
46
2. To open the **Data Sources** window, press **Ctrl**+**Q**, enter "data" in the search box, and choose **Data Sources** window. Or on the **View** menu, select **Other Windows** > **Data Sources**. Or on the keyboard, press **Shift**+**Alt**+**D**.
49
47
48
+
:::moniker range="visualstudio"
49
+

50
+
:::moniker-end
51
+
52
+
:::moniker range="vs-2022"
50
53

54
+
:::moniker-end
51
55
52
56
3. In the **Data Sources** window, click **Add New Data Source**.
53
57
@@ -92,21 +96,31 @@ Connect to databases created with Microsoft 365, Access 2016, Access 2013, Acces
92
96
93
97
12. Expand the **Tables** node on the **Choose your Database Objects** page.
94
98
99
+
:::moniker range="visualstudio"
100
+

101
+
:::moniker-end
102
+
103
+
:::moniker range="vs-2022"
95
104

105
+
:::moniker-end
96
106
97
107
13. Select the tables or views you want to include in your dataset, and then select **Finish**.
98
108
99
109
The dataset is added to your project, and the tables and views appear in the **Data Sources** window.
100
110
111
+
112
+
:::moniker range="visualstudio"
113
+

114
+
:::moniker-end
115
+
116
+
:::moniker range="vs-2022"
101
117

118
+
:::moniker-end
102
119
103
120
14. On 64-bit machines with the 64-bit Access database engine, you need to ensure that the application runs as a 64-bit application. Open the project properties (press **Alt**+**Enter** or right-click on the project node, and select **Properties**). In the **Build** tab for C#, or the **Compile** tab for Visual Basic, clear the **Prefer 32-bit** checkbox.
104
121
105
122
The connection string is stored in *app.config*, and in the *Settings.settings* file under **Properties** in Solution Explorer.
106
123
107
-
:::moniker-end
108
-
109
-
110
124
## Create a dataset for an .mdb file
111
125
112
126
Connect to databases created with Access 2000-2003 by using the following procedure.
Copy file name to clipboardExpand all lines: docs/msbuild/building-multiple-projects-in-parallel-with-msbuild.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
@@ -6,7 +6,7 @@ ms.author: ghogen
6
6
manager: mijacobs
7
7
ms.subservice: msbuild
8
8
ms.topic: concept-article
9
-
ms.date: 02/26/2025
9
+
ms.date: 04/17/2026
10
10
helpviewer_keywords:
11
11
- parallel project builds
12
12
- building multiple projects in parallel
@@ -29,7 +29,7 @@ To build multiple projects faster, you can use MSBuild to run builds in parallel
29
29
30
30
## -maxcpucount MSBuild switch
31
31
32
-
If you use the `-maxcpucount` (`-m`) switch, which was introduced in MSBuild 3.5, MSBuild creates the specified number of *MSBuild.exe* processes that can be run in parallel. These processes are also known as *worker processes*. Each worker process uses a separate core or processor, if any are available, to build a project at the same time as other available processors might be building other projects.
32
+
If you use the `-maxcpucount` (`-m`) switch, MSBuild creates the specified number of *MSBuild.exe* processes that can be run in parallel. These processes are also known as *worker processes*. Each worker process uses a separate core or processor, if any are available, to build a project at the same time as other available processors might be building other projects.
33
33
For example, setting this switch to a value of `4` causes MSBuild to create four worker processes to build the project.
34
34
35
35
If you include the `-maxcpucount` switch without specifying a value, MSBuild uses up to the number of processors on the computer.
Copy file name to clipboardExpand all lines: docs/msbuild/incremental-builds.md
+2-4Lines changed: 2 additions & 4 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: msbuild
8
8
ms.topic: concept-article
9
-
ms.date: 02/28/2025
9
+
ms.date: 04/17/2026
10
10
helpviewer_keywords:
11
11
- msbuild, incremental builds
12
12
@@ -60,9 +60,7 @@ To support incremental compilation, tasks must ensure that the `TaskParameter` a
60
60
61
61
This code creates the property `Easy`, which has the value `123` whether or not the target is executed or skipped.
62
62
63
-
Starting in MSBuild 3.5, output inference is performed automatically on item and property groups in a target. `CreateItem` tasks aren't required in a target and should be avoided. Also, `CreateProperty` tasks should be used in a target only to determine whether a target was executed.
64
-
65
-
Before MSBuild 3.5, you can use the [CreateItem](../msbuild/createitem-task.md) task.
63
+
Output inference is performed automatically on item and property groups in a target. `CreateItem` tasks aren't required in a target and should be avoided. Also, `CreateProperty` tasks should be used in a target only to determine whether a target was executed.
0 commit comments