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
@@ -112,4 +112,8 @@ In managed projects, specifies the .NET framework version to target.
112
112
113
113
For managed projects, this option enables detection of external visibility when you generate assemblies. If a change to a managed project isn't visible to other projects, dependent projects aren't rebuilt. Managed incremental builds can dramatically improve build times in solutions that include managed projects.
114
114
115
+
### Enable CLR Support for Individual Files
116
+
117
+
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.
Copy file name to clipboardExpand all lines: docs/build/reference/fpcvt.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ In Visual Studio 2019 version 16.8 and later versions, the **`/fpcvt`** compiler
30
30
31
31
For Visual Studio 2019, the default behavior for x64 targets is consistent with **`/fpcvt:BC`** unless **`/arch:AVX512`** is specified. Usually, the behavior for x86 targets is consistent with **`/fpcvt:IA`**, except under **`/arch:IA32`**, **`/arch:SSE`**, or sometimes where the result of a function call is directly converted to an unsigned integer. Use of **`/fpcvt`** overrides the default, so all conversions are handled consistently on either target. The behavior of conversions for ARM and ARM64 targets isn't consistent with either **`/fpcvt:BC`** or **`/fpcvt:IA`**.
32
32
33
-
Standard C++ specifies that if a floating-point value can be truncated to a value that can be exactly represented in an integer type, conversion of that floating-point value to that integer type must return the truncated value. Otherwise, any behavior at all is allowed. Both **`/fpcvt`** options conform with Standard C++. The only difference is in what values are returned for invalid source values.
33
+
Standard C++ specifies that if a truncated floating-point value is exactly representable in an integer type, it must have that value when converted to that type. Otherwise, any behavior at all is allowed. Both **`/fpcvt`** options conform with Standard C++. The only difference is in what values are returned for invalid source values.
34
34
35
-
The **`/fpcvt:IA`** option causes any invalid conversion to return a single *sentinel* value, which is the destination value farthest from zero. For conversion to signed types, the sentinel is the minimum value for that type. Unsigned types use the maximum value. Floating-point operations may return a Not-a-Number (NaN) value to indicate an invalid operation. That's not an option for conversion to integer types, which don't have NaN values. The sentinel is used as a proxy for a NaN value, although it can also be the result of a valid conversion.
35
+
The **`/fpcvt:IA`** option causes any invalid conversion to return a single *sentinel* value, which is the destination value farthest from zero. For conversion to signed types, the sentinel is the minimum value for that type. Unsigned types use the maximum value. Floating-point operations may return a Not-a-Number (NaN) value to indicate an invalid operation. That indicator isn't an option for conversion to integer types, which don't have NaN values. The sentinel is used as a proxy for a NaN value, although it can also be the result of a valid conversion.
36
36
37
37
The **`/fpcvt:BC`** option also makes conversion to signed types return the minimum possible value when the source is invalid. However, conversion to unsigned integer types is based on conversion to **`long long`**. To convert a value to **`unsigned int`**, the compiler first converts it to type **`long long`**. The compiler then truncates the result to 32 bits. To convert a value to **`unsigned long long`**, valid source values that are too high for a **`long long`** are handled as a special case. All other values are first converted to **`long long`** and then recast to **`unsigned long long`**.
Use these pages to specify general options for [Mt.exe](/windows/win32/sbscs/mt-exe). These pages are found under **Project** > **Properties** > **Configuration Properties** > **Manifest Tool**.
29
+
Use these pages to specify general options for [`Mt.exe`](/windows/win32/sbscs/mt-exe). These pages are found under **Project** > **Properties** > **Configuration Properties** > **Manifest Tool**.
32
30
33
31
## General Property Page
34
32
35
33
### Suppress Startup Banner
36
34
37
-
**Yes (/nologo)** specifies that standard Microsoft copyright data will be concealed when the manifest tool is started. Use this option to suppress unwanted output in log files, when you run mt.exe as part of a build process or from a build environment.
35
+
**Yes (`/nologo`)** specifies that standard Microsoft copyright data will be concealed when the manifest tool is started. Use this option to suppress unwanted output in log files when you run *`mt.exe`*, either as part of a build process or from a build environment.
38
36
39
37
### Verbose Output
40
38
41
-
**Yes (/verbose)** specifies that additional build information will be displayed during manifest generation.
39
+
**Yes (`/verbose`)** specifies that more build information will be displayed during manifest generation.
42
40
43
41
### Assembly Identity
44
42
45
-
Uses the /identity option to specify an identity string, which comprises the attributes for the [\<assemblyIdentity> Element](/visualstudio/deployment/assemblyidentity-element-clickonce-application). An identity string begins with the value for the `name` attribute, and is followed by *attribute* = *value* pairs. The attributes in an identity string are delimited by a comma.
43
+
Uses the **`/identity`** option to specify an identity string, which holds the attributes for the [`<assemblyIdentity>` element](/visualstudio/deployment/assemblyidentity-element-clickonce-application). An identity string begins with the value for the `name` attribute, and is followed by *attribute* = *value* pairs. The attributes in an identity string are delimited by a comma.
46
44
47
-
This is an example identity string: `Microsoft.Windows.Common-Controls, processorArchitecture=x86, version=6.0.0.0, type=win32, publicKeyToken=6595b64144ccf1df`
Uses the **/manifest** option to specify the full paths of additional manifest files that the manifest tool will process or merge. Full paths are delimited by a semicolon. (-manifest [manifest1][manifest2] ...)
53
+
Uses the **`/manifest`** option to specify the full paths of more manifest files that the manifest tool will process or merge. Full paths are delimited by a semicolon. (`/manifest [manifest1] [manifest2] ...`)
54
54
55
55
### Input Resource Manifests
56
56
57
-
Uses the **/inputresource** option to specify the full path of a resource of type RT_MANIFEST, to input into the manifest tool. The path can be followed by the specified resource ID. For example:
57
+
Uses the **`/inputresource`** option to specify the full path of a resource of type `RT_MANIFEST`, to input into the manifest tool. The path can be followed by the specified resource ID. For example:
58
58
59
59
`dll_with_manifest.dll;#1`
60
60
@@ -66,31 +66,31 @@ Uses the **/inputresource** option to specify the full path of a resource of typ
66
66
67
67
### Output Manifest File
68
68
69
-
Specifies the name of the output manifest file. This property is optional when only one manifest file is operated upon by the manifest tool. (-out:[file];#[resource ID])
69
+
Specifies the name of the output manifest file. This property is optional when only one manifest file is operated upon by the manifest tool. (`/out:[file];#[resource ID]`)
70
70
71
71
### Manifest Resource File
72
72
73
73
Specifies the output resources file used to embed the manifest into the project output.
74
74
75
75
### Generate Catalog Files
76
76
77
-
Uses the **/makecdfs** option to specify that the manifest tool will generate catalog definition files (.cdf files), which are used to make catalogs. (/makecdfs)
77
+
Uses the **`/makecdfs`** option to specify that the manifest tool will generate catalog definition files (*`.cdf`* files), which are used to make catalogs. (`/makecdfs`)
78
78
79
79
### Generate Manifest From ManagedAssembly
80
80
81
-
Generates a manifest from a managed assembly. (-managedassemblyname:\[file])
81
+
Generates a manifest from a managed assembly. (`/managedassemblyname:[file]`)
82
82
83
83
### Suppress Dependency Element
84
84
85
-
Used with -managedassembly. suppresses the generation of dependency elements in the final manifest. (-nodependency)
85
+
Used with **`/managedassemblyname`**. Suppresses the generation of dependency elements in the final manifest. (`/nodependency`)
86
86
87
87
### Generate Category Tags
88
88
89
-
Used with -managedassembly. -category causes the category tags to be generated. (-category)
89
+
Used with **`/managedassemblyname`**. **`/category`** causes the category tags to be generated. (`/category`)
90
90
91
91
### DPI Awareness
92
92
93
-
Specifies whether the application is DPI-aware. By default, the setting is **Yes** for MFC projects and **No** otherwise because only MFC projects have built in DPI awareness. You can override the setting to **Yes** if you add code to handle different DPI settings. Your application might appear fuzzy or small if you set it as DPI-aware when it is not.
93
+
Specifies whether the application is DPI-aware. By default, the setting is **Yes** for MFC projects and **No** otherwise because only MFC projects have built in DPI awareness. You can override the setting to **Yes** if you add code to handle different DPI settings. Your application might appear fuzzy or small if it isn't DPI-aware, but you set a DPI-aware option.
94
94
95
95
**Choices**
96
96
@@ -100,37 +100,37 @@ Specifies whether the application is DPI-aware. By default, the setting is **Yes
100
100
101
101
## Isolated COM Property Page
102
102
103
-
For more information about isolated COM, see [Isolated Applications](/windows/win32/SbsCs/isolated-applications) and [How to: Build Isolated Applications to Consume COM Components](../how-to-build-isolated-applications-to-consume-com-components.md).
103
+
For more information about isolated COM, see [Isolated applications](/windows/win32/SbsCs/isolated-applications) and [How to: Build isolated applications to consume COM components](../how-to-build-isolated-applications-to-consume-com-components.md).
104
104
105
105
### Type Library File
106
106
107
-
Specifies the type library to use for regfree COM manifest support. (-tlb:[file])
107
+
Specifies the type library to use for regfree COM manifest support. (`/tlb:[file]`)
108
108
109
109
### Registrar Script File
110
110
111
-
Specifies the registrar script file to use for regfree COM manifest support. (-rgs:[file])
111
+
Specifies the registrar script file to use for regfree COM manifest support. (`/rgs:[file]`)
112
112
113
113
### Component File Name
114
114
115
-
Specifies the file name of the component that is built from the .tlb or .rgs specified. (-dll:[file])
115
+
Specifies the file name of the component that is built from the .tlb or .rgs specified. (`/dll:[file]`)
116
116
117
117
### Replacements File
118
118
119
-
Specifies the file that contains values for replaceable strings in the RGS file. (replacements:[file])
119
+
Specifies the file that contains values for replaceable strings in the RGS file. (`/replacements:[file]`)
120
120
121
121
## Advanced Property Page
122
122
123
123
### Update File Hashes
124
124
125
-
Computes the hash of files specified in the file elements and updates the hash attribute with this value. (hashupdate:[path])
125
+
Computes the hash of files specified in the `file` elements, and then updates the hash attribute with this value. (`/hashupdate:[path]`)
126
126
127
127
### Update File Hashes Search Path
128
128
129
129
Specifies the search path to use when updating the file hashes.
Any *postfix-expression* is considered a *unary-expression*, and because any primary expression is considered a *postfix-expression*, any primary expressions is considered a *unary-expression* also. For more information, see [Postfix Expressions](../cpp/postfix-expressions.md) and [Primary Expressions](../cpp/primary-expressions.md).
59
+
## Remarks
63
60
64
-
A *unary-operator* consists of one or more of the following symbols: `* & + - ! ~`
61
+
Any *`postfix-expression`* is considered a *`unary-expression`*, and because any *`primary-expression`* is considered a *`postfix-expression`*, any *`primary-expression`* is considered a *`unary-expression`* also. For more information, see [Postfix expressions](../cpp/postfix-expressions.md) and [Primary expressions](../cpp/primary-expressions.md).
65
62
66
-
The *cast-expression* is a unaryexpression with an optional cast to change the type. For more information see [Cast Operator: ()](../cpp/cast-operator-parens.md).
63
+
The *`cast-expression`* is a *`unary-expression`* with an optional cast to change the type. For more information, see [Cast operator: `()`](../cpp/cast-operator-parens.md).
67
64
68
-
An *expression* can be any expression. For more information, see [Expressions](../cpp/expressions-cpp.md).
65
+
The *`noexcept-expression`* is a *`noexcept-specifier`* with a *`constant-expression`* argument. For more information, see [`noexcept`](../cpp/noexcept-cpp.md).
69
66
70
-
The *allocation-expression* refers to the **`new`** operator. The *deallocation-expression* refers to the **`delete`** operator. For more information, see the links earlier in this topic.
67
+
The *`new-expression`* refers to the **`new`** operator. The *`delete-expression`* refers to the **`delete`** operator. For more information, see [`new` operator](../cpp/new-operator-cpp.md) and [`delete` operator](../cpp/delete-operator-cpp.md).
71
68
72
69
## See also
73
70
74
-
[Types of Expressions](../cpp/types-of-expressions.md)
71
+
[Types of expressions](../cpp/types-of-expressions.md)
0 commit comments