Skip to content

Commit e7cfc9a

Browse files
authored
Merge pull request MicrosoftDocs#4995 from MicrosoftDocs/main
7/26/2023 10:30 AM Publish
2 parents cdbba0b + 4b8e177 commit e7cfc9a

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

docs/build/reference/advanced-property-page.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: "Advanced Property Page (Project)"
44
ms.date: 08/31/2022
55
f1_keywords: ["VC.Project.VCConfiguration.TargetExt", "VC.Project.VCConfiguration.DeleteExtensionsOnClean", "VC.Project.VCConfiguration.BuildLogFile", "VC.Project.VCConfiguration.PreferredToolArchitecture", "VC.Project.VCConfiguration.UseDebugLibraries", "VC.Project.VCConfiguration.EnableUnitySupport", "VC.Project.VCConfiguration.CopyLocalDeploymentContent", "VC.Project.VCConfiguration.CopyLocalProjectReference", "VC.Project.VCConfiguration.CopyLocalDebugSymbols", "VC.Project.VCConfiguration.CopyCppRuntimeToOutputDir", "VC.Project.VCConfiguration.useOfMfc", "VC.Project.VCConfiguration.CharacterSet", "VC.Project.VCConfiguration.WholeProgramOptimization", "VC.Project.VCConfiguration.VCToolsVersion", "VC.Project.VCConfiguration.LLVMToolsVersion", "VC.Project.VCConfiguration.ManagedExtensions", "VC.Project.TargetFrameworkVersion", "VC.Project.VCConfiguration.EnableManagedIncrementalBuild", "VC.Project.VCConfiguration.ManagedAssembly"]
66
---
7+
78
# Advanced Property Page
89

910
::: moniker range="<=msvc-150"
@@ -106,7 +107,13 @@ To programmatically access this property, see <xref:Microsoft.VisualStudio.VCPro
106107

107108
### .NET Target Framework Version
108109

109-
In managed projects, specifies the .NET framework version to target.
110+
This property only applies when the **Common Language Runtime support** property is set to **.NET Framework Runtime Support**, that is the project targets [.NET Framework](/dotnet/standard/glossary#net-framework), and it specifies the version of the .NET Framework.
111+
112+
### .NET Target Framework
113+
114+
This property only applies when the **Common Language Runtime support** property is set to **.NET Runtime Support**, that is the project targets [.NET](/dotnet/standard/glossary#net).
115+
116+
This property specifies the .NET 5+ Target Framework Moniker this project targets, for example `net6.0-windows` or `net7.0-windows8.0`.
110117

111118
### Enable Managed Incremental Build
112119

@@ -116,4 +123,11 @@ For managed projects, this option enables detection of external visibility when
116123

117124
This option sets a `ManagedAssembly` build property that enables building only some files in the project as managed code. You must set **Enable CLR Support for Individual Files** to **Yes** if some but not all of your project files are built as managed code. This property is only available in projects that use the v143 or later toolset in Visual Studio 2022 and later versions.
118125

126+
### .NET Target Windows Version
127+
128+
This property only applies when the **Common Language Runtime support** property is set to **.NET Runtime Support**, that is the project targets [.NET](/dotnet/standard/glossary#net).
129+
130+
This property specifies the minimum Windows version that the project supports. This value is used by NuGet to determine the compatibility of projects and NuGet package dependencies. If a project A depends on project B, project A's .NET target Windows version must be greater or equal to project B's.
131+
119132
::: moniker-end
133+

docs/c-language/c-bit-fields.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The *`constant-expression`* specifies the width of the field in bits. The *`type
1919

2020
Unnamed bit fields can't be referenced, and their contents at run time are unpredictable. They can be used as "dummy" fields, for alignment purposes. An unnamed bit field whose width is specified as 0 guarantees that storage for the member following it in the *struct-declaration-list* begins on an **`int`** boundary.
2121

22-
Bit fields must also be long enough to contain the bit pattern. For example, these two statements aren't legal:
22+
The number of bits in a bit field must be less than or equal to the size of the underlying type. For example, these two statements aren't legal:
2323

2424
```C
2525
short a:17; /* Illegal! */
@@ -72,7 +72,7 @@ the bits of `test` would be arranged as follows:
7272
cccccccb bbbbaaaa
7373
```
7474
75-
Since the 8086 family of processors stores the low byte of integer values before the high byte, the integer `0x01F2` would be stored in physical memory as `0xF2` followed by `0x01`.
75+
Since the 8086 family of processors store the low byte of integer values before the high byte, the integer `0x01F2` would be stored in physical memory as `0xF2` followed by `0x01`.
7676
7777
The ISO C99 standard lets an implementation choose whether a bit field may straddle two storage instances. Consider this structure, which stores bit fields that total 64 bits:
7878

docs/c-language/storage-and-alignment-of-structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ where *n* is the packing size expressed with the /Zp[*n*] option and *item* is t
2727

2828
To use the `pack` pragma to specify packing other than the packing specified on the command line for a particular structure, give the `pack` pragma, where the packing size is 1, 2, 4, 8, or 16, before the structure. To reinstate the packing given on the command line, specify the `pack` pragma with no arguments.
2929

30-
Bit fields default to size **`long`** for the Microsoft C compiler. Structure members are aligned on the size of the type or the /Zp[*n*] size, whichever is smaller. The default size is 4.
30+
For the Microsoft C compiler, bit fields default to a size of 4 bytes, which is a **`long`** data type. Structure members are aligned on the size of the type or the /Zp[*n*] size, whichever is smaller.
3131

3232
**END Microsoft Specific**
3333

docs/c-language/union-declarations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Nested unions can be declared anonymously when they're members of another struct
8181
struct str
8282
{
8383
int a, b;
84-
union / * Unnamed union */
84+
union /* Unnamed union */
8585
{
8686
char c[4];
8787
long l;

0 commit comments

Comments
 (0)