Skip to content

Commit 404cd84

Browse files
Merge pull request #10975 from MicrosoftDocs/main638893478816207661sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 969cce5 + 8d50b27 commit 404cd84

15 files changed

+167
-135
lines changed

.openpublishing.redirection.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,26 @@
11191119
"source_path": "docs/help-viewer/find-topics-index.md",
11201120
"redirect_url": "/visualstudio/help-viewer/find-topics",
11211121
"redirect_document_id": false
1122+
},
1123+
{
1124+
"source_path": "docs/ide/reference/project-properties-reference.md",
1125+
"redirect_url": "/visualstudio/ide/project-properties-reference",
1126+
"redirect_document_id": false
1127+
},
1128+
{
1129+
"source_path": "docs/ide/reference/properties-window.md",
1130+
"redirect_url": "/visualstudio/ide/properties-window",
1131+
"redirect_document_id": false
1132+
},
1133+
{
1134+
"source_path": "docs/ide/reference/settings-page-project-designer.md",
1135+
"redirect_url": "/visualstudio/ide/settings-page-project-designer",
1136+
"redirect_document_id": false
1137+
},
1138+
{
1139+
"source_path": "docs/ide/reference/project-designer-dotnet-csharp.md",
1140+
"redirect_url": "/visualstudio/ide/project-designer-dotnet-csharp",
1141+
"redirect_document_id": false
11221142
},
11231143
{
11241144
"source_path": "docs/ide/reference/options-text-editor-csharp-formatting.md",

docs/ide/reference/project-designer-dotnet-csharp.md renamed to docs/ide/project-designer-dotnet-csharp.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ monikerRange: '>= vs-2022'
1717
---
1818
# .NET Project Designer
1919

20-
Use the **Project Designer** to specify the project's settings and properties for .NET Core and .NET 5+. For .NET Framework, see [What is the .NET Project Designer?](../reference/project-properties-reference.md).
20+
Use the **Project Designer** to specify the project's settings and properties for .NET Core and .NET 5+. For .NET Framework, see [What is the .NET Project Designer?](../ide/reference/project-properties-reference.md).
2121

2222
To access the Project Designer, choose a project node (not the **Solution** node) in **Solution Explorer**. Then choose **Project** > **Properties** on the menu bar. The **Project Designer** appears.
2323

24-
[!INCLUDE[note_settings_general](../../data-tools/includes/note_settings_general_md.md)]
24+
[!INCLUDE[note_settings_general](../data-tools/includes/note_settings_general_md.md)]
2525

2626
## Application, General settings
2727

@@ -41,12 +41,12 @@ Specifies the version of .NET that the application targets. This option can have
4141

4242
For a project that targets .NET Core or .NET 5+, the available versions might appear as follows:
4343

44-
:::image type="content" source="../media/vs-2022/application-target-framework.png" alt-text="Screenshot of the target framework versions for a .NET Core project in Visual Studio 2022.":::
44+
:::image type="content" source="media/vs-2022/application-target-framework.png" alt-text="Screenshot of the target framework versions for a .NET Core project in Visual Studio 2022.":::
4545

4646
> [!NOTE]
47-
> For ClickOnce applications, the prerequisite packages listed in the [Prerequisites Dialog Box](../../ide/reference/prerequisites-dialog-box.md) are set automatically the first time that you open the dialog box. If you subsequently change the project's target framework, you must select the prerequisites manually to match the new target framework.
47+
> For ClickOnce applications, the prerequisite packages listed in the [Prerequisites Dialog Box](../ide/reference/prerequisites-dialog-box.md) are set automatically the first time that you open the dialog box. If you subsequently change the project's target framework, you must select the prerequisites manually to match the new target framework.
4848
49-
For more information, see [Framework targeting overview](../../ide/visual-studio-multi-targeting-overview.md).
49+
For more information, see [Framework targeting overview](../ide/visual-studio-multi-targeting-overview.md).
5050

5151
**Target OS**
5252

@@ -207,7 +207,7 @@ The following settings are used to configure the output options for the build pr
207207

208208
Specifies the location of the output files for this project's configuration. Enter the path of the build output in this box, or choose the **Browse** button to specify a path. The path is relative; if you enter an absolute path, it will be saved as relative. The default path is bin\Debug or bin\Release\\.
209209

210-
With simplified build configurations, the project system determines whether to build a debug or release version. The **Build** command from the **Debug** menu (F5) will put the build in the debug location regardless of the **Output path** you specify. However, the **Build** command from the **Build** menu puts it in the location you specify. For more information, see [Understanding Build Configurations](../../ide/understanding-build-configurations.md).
210+
With simplified build configurations, the project system determines whether to build a debug or release version. The **Build** command from the **Debug** menu (F5) will put the build in the debug location regardless of the **Output path** you specify. However, the **Build** command from the **Build** menu puts it in the location you specify. For more information, see [Understanding Build Configurations](../ide/understanding-build-configurations.md).
211211

212212
**Reference assembly**
213213

@@ -219,7 +219,7 @@ Specifies the name of a file into which documentation comments will be processed
219219

220220
## Build, Events settings
221221

222-
For information on the build event settings, see [Specify build events (C#)](../../ide/how-to-specify-build-events-csharp.md).
222+
For information on the build event settings, see [Specify build events (C#)](../ide/how-to-specify-build-events-csharp.md).
223223

224224
## Build, Publish settings
225225

@@ -239,7 +239,7 @@ Specifies whether to produce an app that's self-contained and that has been ahea
239239

240240
**Sign the assembly**
241241

242-
Select this check box to sign the assembly and create a strongly named key file. For more information about signing the assembly by using the **Project Designer**, see [How to: Sign an Assembly (Visual Studio)](../managing-assembly-and-manifest-signing.md#how-to-sign-an-assembly-in-visual-studio). For more information, see [Strong-named assemblies](/dotnet/standard/assembly/strong-named).
242+
Select this check box to sign the assembly and create a strongly named key file. For more information about signing the assembly by using the **Project Designer**, see [How to: Sign an Assembly (Visual Studio)](managing-assembly-and-manifest-signing.md#how-to-sign-an-assembly-in-visual-studio). For more information, see [Strong-named assemblies](/dotnet/standard/assembly/strong-named).
243243

244244
This option uses the Al.exe tool provided by the Windows Software Development Kit (SDK) to sign the assembly. For more information about Al.exe, see [How to: Sign an Assembly with a Strong Name](/dotnet/framework/app-domains/how-to-sign-an-assembly-with-a-strong-name).
245245

@@ -300,21 +300,21 @@ Specifies whether to create a symbol package for debugging. For more information
300300

301301
**Run on build**
302302

303-
Specifies whether to run source code analysis when you build the project. For more information, see [Disable source code analysis for .NET](../../code-quality/disable-code-analysis.md).
303+
Specifies whether to run source code analysis when you build the project. For more information, see [Disable source code analysis for .NET](../code-quality/disable-code-analysis.md).
304304

305305
**Run on live analysis**
306306

307-
Specifies whether to run live source code analysis when you build the project. For more information, see [Disable source code analysis for .NET](../../code-quality/disable-code-analysis.md).
307+
Specifies whether to run live source code analysis when you build the project. For more information, see [Disable source code analysis for .NET](../code-quality/disable-code-analysis.md).
308308

309309
## Code Analysis, .NET analyzer settings
310310

311311
**Enforce code style on build**
312312

313-
Specifies whether .NET code style violations are reported when building the project. For more information, see [Enforce code styles on build](../../ide/code-styles-and-code-cleanup.md#enforce-code-styles-on-build).
313+
Specifies whether .NET code style violations are reported when building the project. For more information, see [Enforce code styles on build](../ide/code-styles-and-code-cleanup.md#enforce-code-styles-on-build).
314314

315315
**Enable .NET analyzers**
316316

317-
Enables or disables the .NET compiler platform (Roslyn) analyzers. For more information, see [Enable or install first-party .NET analyzers](../../code-quality/install-net-analyzers.md).
317+
Enables or disables the .NET compiler platform (Roslyn) analyzers. For more information, see [Enable or install first-party .NET analyzers](../code-quality/install-net-analyzers.md).
318318

319319
**Analysis level**
320320

@@ -328,7 +328,7 @@ For ASP.NET Core projects, the settings in the launch profiles UI correspond to
328328

329329
## Resources, General settings
330330

331-
Select the link to open the RESX assembly resources file. For more information, see [Settings page, Project Designer](../reference/settings-page-project-designer.md).
331+
Select the link to open the RESX assembly resources file. For more information, see [Settings page, Project Designer](settings-page-project-designer.md).
332332

333333
## See also
334334

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
title: What is the .NET Project Designer?
3+
description: Learn how to configure and customize .NET project properties by using the Project Designer.
4+
ms.date: 12/13/2024
5+
ms.topic: reference
6+
helpviewer_keywords:
7+
- user interface [Visual Studio], projects
8+
- projects [Visual Studio], user interface
9+
ms.custom: "ide-ref"
10+
author: ghogen
11+
ms.author: ghogen
12+
manager: mijacobs
13+
ms.subservice: general-ide
14+
---
15+
# What is the .NET Project Designer?
16+
17+
::: moniker range=">=vs-2022"
18+
The Project Designer in Visual Studio is a dialog box that you can use to specify applications settings and properties for a .NET or .NET Framework project. The Project Designer includes several different project properties tabs or pages to interact with. What you see depends on your .NET version, since the project designer for .NET Framework projects is different from the project designer for projects that target .NET Core and .NET 5 and later. For detailed information on properties in the .NET Project Designer, see [.NET Project Designer](../ide/project-designer-dotnet-csharp.md). For detailed information on the .NET Framework Project Designer, see [Project properties in the .NET Framework Project Designer](#project-properties-in-the-net-framework-project-designer).
19+
::: moniker-end
20+
21+
::: moniker range="vs-2019"
22+
The Project Designer in Visual Studio is a dialog box that you can use to specify applications settings and properties for a .NET or .NET Framework project. The Project Designer includes several different project properties tabs or pages to interact with. What you see depends on your .NET project type, platform, and programming language.
23+
::: moniker-end
24+
25+
The Project Designer appears after you select a [project node](../ide/use-solution-explorer.md#solution-explorer-ui) in **Solution Explorer** and then use the right-click context menu to select **Properties**.
26+
27+
> [!IMPORTANT]
28+
> The project properties that you can access by using the .NET Project Designer differ from the properties you can access by using the [Properties window](properties-window.md) in Solution Explorer.
29+
30+
::: moniker range=">=vs-2022"
31+
32+
The following screenshot shows an example of the .NET project properties for a C# console project in the Project Designer.
33+
34+
:::image type="content" source="media/vs-2022/project-properties-designer-csharp-console.png" alt-text="Screenshot of the .NET Project Designer in Visual Studio 2022 with .NET 8.0 as the target framework.":::
35+
36+
The following screenshot shows an example of the .NET Framework project properties for a Visual Basic console project in the Project Designer. Notice that .NET Framework 4.7.2 appears as the target framework.
37+
38+
:::image type="content" source="media/vs-2022/project-properties-designer-visual-basic-console.png" alt-text="Screenshot of the .NET Project Designer in Visual Studio 2022 with .NET Framework 4.7.2 as the target framework.":::
39+
40+
::: moniker-end
41+
42+
::: moniker range="vs-2019"
43+
44+
The following Visual Studio 2019 screenshot shows an example of the .NET project properties for a C# console project in the Project Designer. Notice that .NET 5.0 appears as the target framework.
45+
46+
:::image type="content" source="media/vs-2019/project-properties-designer-csharp-console.png" alt-text="Screenshot of the Project Designer in Visual Studio 2019 with .NET as the target framework.":::
47+
48+
The following Visual Studio 2019 screenshot shows an example of the .NET project properties for a Visual Basic console project in the Project Designer. Notice that .NET Framework 4.7.2 appears as the target framework.
49+
50+
:::image type="content" source="media/vs-2019/project-properties-designer-visual-basic-console.png" alt-text="Screenshot of the Project Designer in Visual Studio 2019 with .NET Framework as the target framework.":::
51+
52+
::: moniker-end
53+
54+
::: moniker range=">=vs-2022"
55+
56+
## Project properties in the .NET Framework Project Designer
57+
58+
For .NET Framework projects, use links in the following table to get information about properties.
59+
60+
|Property |Language/platform |Description |
61+
|---------------|-----------------------|-------------------------------------------------------------------------|
62+
|Application | [C#](/previous-versions/visualstudio/visual-studio-2017/ide/reference/application-page-project-designer-csharp), F#, [Visual Basic](/previous-versions/visualstudio/visual-studio-2017/ide/reference/application-page-project-designer-visual-basic), [UWP](/previous-versions/visualstudio/visual-studio-2017/ide/reference/application-page-project-designer-uwp), WPF | Specify application settings and properties for a project. |
63+
|Build | [C#](/previous-versions/visualstudio/visual-studio-2017/ide/reference/build-page-project-designer-csharp), F#, WPF | Specify build configuration properties for a project. |
64+
|Build Events | [C#](/previous-versions/visualstudio/visual-studio-2017/ide/reference/build-events-page-project-designer-csharp), Visual Basic, WPF | Specify build configuration instructions. |
65+
|[Code Analysis](/previous-versions/visualstudio/visual-studio-2017/ide/reference/code-analysis-project-designer) | C#, F#, Visual Basic, WPF | Configure the code analysis tool. |
66+
|Compile | [Visual Basic](/previous-versions/visualstudio/visual-studio-2017/ide/reference/compile-page-project-designer-visual-basic) | Specify compilation properties |
67+
|My Extensions | Visual Basic | Manage [My Namespace](/dotnet/visual-basic/developing-apps/customizing-extending-my/) extensions. |
68+
|Package | C#, F#, Visual Basic | Generate a NuGet package on build. |
69+
|[Publish](/previous-versions/visualstudio/visual-studio-2017/ide/reference/publish-page-project-designer) | Visual Basic, WPF | Configure properties for ClickOnce.|
70+
|References | [Visual Basic](/previous-versions/visualstudio/visual-studio-2017/ide/reference/references-page-project-designer-visual-basic) | Manage the references used by a project. |
71+
|Reference Paths | WPF | Manage reference paths for a project. |
72+
|Resources | C#, F#, Visual Basic, WPF | Access the RESX file from Solution Explorer for a C# project, create a default resources file for a Visual Basic project, or add resources to a WPF project. |
73+
|[Services](/previous-versions/visualstudio/visual-studio-2017/ide/reference/services-page-project-designer) | Visual Basic, WPF, Windows Forms | Enable client application services. |
74+
|[Settings](/previous-versions/visualstudio/visual-studio-2017/ide/reference/settings-page-project-designer) | C#, F#, Visual Basic, WPF | Specify a project's application settings. |
75+
|[Signing](/previous-versions/visualstudio/visual-studio-2017/ide/reference/signing-page-project-designer) | Visual Basic, WPF | Sign application and deployment manifests, and sign the assembly. (For a Visual Basic project, the ClickOnce manifest signing for .NET projects is now under **Build** > **Publish**.) |
76+
|Security | Visual Basic, [WPF](/previous-versions/visualstudio/visual-studio-2017/ide/reference/security-page-project-designer) | Configure code access security settings for applications that are deployed by using ClickOnce deployment.
77+
78+
::: moniker-end
79+
80+
::: moniker range="<=vs-2019"
81+
82+
## Project properties in the .NET Project Designer
83+
84+
Use links in the following table to get information about properties.
85+
86+
| Title | Description |
87+
| - | - |
88+
| [Application Page, Project Designer (Visual Basic)](/previous-versions/visualstudio/visual-studio-2017/ide/reference/application-page-project-designer-visual-basic) | Specify application settings and properties for a Visual Basic project. |
89+
| [Application Page, Project Designer (C#)](/previous-versions/visualstudio/visual-studio-2017/ide/reference/application-page-project-designer-csharp) | Specify application settings and properties for a Visual C# project. |
90+
| [Build Events Page, Project Designer (C#)](/previous-versions/visualstudio/visual-studio-2017/ide/reference/build-events-page-project-designer-csharp) | Specify build configuration instructions. |
91+
| [Build Page, Project Designer (C#)](/previous-versions/visualstudio/visual-studio-2017/ide/reference/build-page-project-designer-csharp) | Specify build configuration properties for a Visual C# project. |
92+
| [Compile Page, Project Designer (Visual Basic)](/previous-versions/visualstudio/visual-studio-2017/ide/reference/compile-page-project-designer-visual-basic) | Specify compilation properties for Visual Basic projects. |
93+
| [Debug Page, Project Designer](/previous-versions/visualstudio/visual-studio-2017/ide/reference/debug-page-project-designer) | Specify debugging properties for a project. |
94+
| [Code Analysis, Project Designer](/previous-versions/visualstudio/visual-studio-2017/ide/reference/code-analysis-project-designer) | Configure the code analysis tool. |
95+
| [Publish Page, Project Designer](/previous-versions/visualstudio/visual-studio-2017/ide/reference/publish-page-project-designer) | Configure properties for ClickOnce. |
96+
| [References Page, Project Designer (Visual Basic)](/previous-versions/visualstudio/visual-studio-2017/ide/reference/references-page-project-designer-visual-basic) | Manage references used by a project. |
97+
| [Security Page, Project Designer](/previous-versions/visualstudio/visual-studio-2017/ide/reference/security-page-project-designer) | Configure code access security settings for applications that are deployed by using ClickOnce deployment. |
98+
| [Signing Page, Project Designer](/previous-versions/visualstudio/visual-studio-2017/ide/reference/signing-page-project-designer) | Sign application and deployment manifests, and sign the assembly. |
99+
100+
::: moniker-end
101+
102+
## See also
103+
104+
- [What are solutions and projects in Visual Studio?](../ide/solutions-and-projects-in-visual-studio.md)
105+
- [Learn about Solution Explorer](../ide/use-solution-explorer.md)

0 commit comments

Comments
 (0)