Skip to content

Commit 2f48292

Browse files
committed
edits
1 parent c1d4164 commit 2f48292

14 files changed

+57
-53
lines changed

docs/build/reference/assemblylinkresource-link-to-dotnet-framework-resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Create a link to a .NET Framework resource in the output file.
1313

1414
> **`/ASSEMBLYLINKRESOURCE:`*`filename`***
1515
16-
## Arguments
16+
## Argument
1717

18-
*`filename`*
18+
*`filename`*\
1919
The .NET Framework resource file to link from the assembly. Must not exceed `MAX_PATH` (260) characters.
2020

2121
## Remarks

docs/build/reference/idlout-name-midl-output-files.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ helpviewer_keywords: ["MIDL, output file names", ".idl files, path", "MIDL", "/I
77
---
88
# /IDLOUT (Name MIDL Output Files)
99

10-
```cmd
11-
/IDLOUT:[path\]filename
12-
```
10+
## Syntax
1311

14-
## Parameters
12+
> /IDLOUT:[path\]filename
13+
14+
## Argument
1515

1616
*`path`*\
17-
An absolute or relative path specification. By specifying a path, you affect only the location of an .idl file; all other files are placed in the project directory.
17+
An absolute or relative path specification. By specifying a path, you affect only the location of an `.idl` file; all other files are placed in the project directory.
1818

1919
*`filename`*\
20-
Specifies the name of the .idl file created by the MIDL compiler. No file extension is assumed; specify *filename*.idl if you want an .idl extension. The path plus filename must not exceed `MAX_PATH` (260) characters.
20+
Specifies the name of the `.idl` file created by the MIDL compiler. No file extension is assumed; specify *`filename.idl` if you want an `.idl` extension. The path plus filename must not exceed `MAX_PATH` (260) characters.
2121

2222
## Remarks
2323

24-
The `/IDLOUT` option specifies the name and extension of the .idl file.
24+
The `/IDLOUT` option specifies the name and extension of the `.idl `file.
2525

2626
The MIDL compiler is called by the MSVC linker when linking projects that have the [`module`](../../windows/attributes/module-cpp.md) attribute.
2727

@@ -39,9 +39,7 @@ If you specify neither `/IDLOUT` nor `/TLBOUT`, the linker will create vc70.tlb,
3939
### To set this linker option in the Visual Studio development environment
4040

4141
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
42-
4342
1. Select the **Configuration Properties** > **Linker** > **Embedded IDL** property page.
44-
4543
1. Modify the **Merge IDL Base File Name** property.
4644

4745
### To set this linker option programmatically

docs/build/reference/implib-name-import-library.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
---
22
description: "Learn more about: /IMPLIB (Name Import Library)"
33
title: "/IMPLIB (Name Import Library)"
4-
ms.date: "11/04/2016"
4+
ms.date: 03/24/2025
55
f1_keywords: ["/implib", "VC.Project.VCLinkerTool.ImportLIbrary"]
66
helpviewer_keywords: ["IMPLIB linker option", "/IMPLIB linker option", "-IMPLIB linker option", "import libraries, overriding default name"]
77
---
88
# `/IMPLIB` (Name Import Library)
99

10+
## Syntax
11+
1012
> /IMPLIB:*filename*
1113
12-
## Parameters
14+
## Argument
1315

1416
*`filename`*\
1517
A user-specified name for the import library. It replaces the default name. Must not exceed `MAX_PATH` (260) characters.
1618

1719
## Remarks
1820

19-
The `/IMPLIB` option overrides the default name for the import library that LINK creates when it builds a program that contains exports. The default name is formed from the base name of the main output file and the extension .lib. A program contains exports if one or more of the following are specified:
21+
The `/IMPLIB` option overrides the default name for the import library that LINK creates when it builds a program that contains exports. The default name is formed from the base name of the main output file and the extension `.lib`. A program contains exports if one or more of the following are specified:
2022

2123
- The [__declspec(dllexport)](../../cpp/dllexport-dllimport.md) keyword in the source code
2224
- [EXPORTS](exports.md) statement in a .def file
2325
- An [/EXPORT](export-exports-a-function.md) specification in a LINK command
2426

25-
LINK ignores `/IMPLIB` when an import library is not being created. If no exports are specified, LINK does not create an import library. If an export file is used in the build, LINK assumes that an import library already exists and does not create one. For information on import libraries and export files, see [LIB Reference](lib-reference.md).
27+
LINK ignores `/IMPLIB` when an import library isn't being created. If no exports are specified, LINK doesn't create an import library. If an export file is used in the build, LINK assumes that an import library already exists and doesn't create one. For information on import libraries and export files, see [LIB Reference](lib-reference.md).
2628

2729
### To set this linker option in the Visual Studio development environment
2830

2931
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
30-
3132
1. Select the **Configuration Properties** > **Linker** > **Advanced** property page.
32-
3333
1. Modify the **Import Library** property.
3434

3535
### To set this linker option programmatically

docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["/KEYFILE linker option", "-KEYFILE linker option", "KEYFI
77
---
88
# /KEYFILE (Specify Key or Key Pair to Sign an Assembly)
99

10-
```cmd
10+
```
1111
/KEYFILE:filename
1212
```
1313

docs/build/reference/libpath-additional-libpath.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,23 @@ helpviewer_keywords: ["LIBPATH linker option", "/LIBPATH linker option", "Additi
77
---
88
# `/LIBPATH` (Additional Libpath)
99

10-
```cmd
11-
/LIBPATH:dir
12-
```
10+
## Syntax
1311

14-
## Parameters
12+
> /LIBPATH:dir
13+
14+
## Argument
1515

1616
*`dir`*\
17-
Specifies a path that the linker will search before it searches the path specified in the LIB environment option. Must not exceed `MAX_PATH` (260) characters.
17+
Specifies a path that the linker searches before it searches the path specified in the `LIB` environment option. Must not exceed `MAX_PATH` (260) characters.
1818

1919
## Remarks
2020

21-
Use the `/LIBPATH` option to override the environment library path. The linker will first search in the path specified by this option, and then search in the path specified in the LIB environment variable. You can specify only one directory for each `/LIBPATH` option you enter. If you want to specify more than one directory, you must specify multiple `/LIBPATH` options. The linker will then search the specified directories in order.
21+
Use the `/LIBPATH` option to override the environment library path. The linker first searches in the path specified by this option, and then searches in the path specified in the `LIB` environment variable. You can specify only one directory for each `/LIBPATH` option you enter. To specify more than one directory, specify multiple `/LIBPATH` options. The linker searches the specified directories in order.
2222

2323
### To set this linker option in the Visual Studio development environment
2424

2525
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
26-
2726
1. Select the **Configuration Properties** > **Linker** > **General** property page.
28-
2927
1. Modify the **Additional Library Directories** property.
3028

3129
### To set this linker option programmatically

docs/build/reference/link-repro-full-path-rsp.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ helpviewer_keywords: ["/LINKREPROFULLPATHRSP linker option", "-LINKREPROFULLPATH
77
---
88
# `/LINKREPROFULLPATHRSP` (Generate file containing absolute paths of linked files)
99

10-
Generates a response file (.RSP) containing the absolute paths of all the files the linker took as input.
10+
Generates a response file (`.RSP`) containing the absolute paths of all the files the linker took as input.
1111

1212
This flag was introduced in Visual Studio 2022 version 17.11.
1313

1414
## Syntax
1515

16-
> **`/LINKREPROFULLPATHRSP:filename`**
16+
> **/LINKREPROFULLPATHRSP:filename**
1717
18-
## Remarks
18+
## Argument
19+
20+
*`filename`*\
21+
Specifies the name of the response file to create. Must not exceed `MAX_PATH` (260) characters.
1922

20-
The *`filename`* argument specifies the name of the response file to create. Must not exceed `MAX_PATH` (260) characters.
23+
## Remarks
2124

2225
Rather than generate a full link repro like `/LINKREPRO`, which copies all the files to a directory and creates a response file with relative paths to that directory, this option writes the names of the files used during linking to the specified file.
2326

docs/build/reference/linkrepro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Tells the linker or library tool to generate a link repro in a specified directo
1515
1616
### Arguments
1717

18-
**/LINKREPRO:**_directory-name_\
19-
The user-specified directory to store the link repro in. Directory names that include spaces must be enclosed in double quotes. The *`_directory-name_`* must not exceed `MAX_PATH` (260) characters.
18+
**_directory-name_\
19+
The user-specified directory to store the link repro in. Directory names that include spaces must be enclosed in double quotes. Must not exceed `MAX_PATH` (260) characters.
2020

2121
## Remarks
2222

docs/build/reference/manifestfile-name-manifest-file.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ helpviewer_keywords: ["MANIFESTFILE linker option", "-MANIFESTFILE linker option
77
---
88
# /MANIFESTFILE (Name Manifest File)
99

10-
```cmd
11-
/MANIFESTFILE:filename
12-
```
10+
## Syntax
11+
12+
> /MANIFESTFILE:filename
13+
14+
## Argument
15+
16+
`filename`\
17+
The name of the manifest file.
1318

1419
## Remarks
1520

docs/build/reference/manifestinput-specify-manifest-input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Specifies a manifest input file to include in the manifest that's embedded in th
1010

1111
## Syntax
1212

13-
> **`/MANIFESTINPUT:`***`filename`*
13+
> **/MANIFESTINPUT:*filename*
1414
1515
### Parameters
1616

docs/build/reference/map-generate-mapfile.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ helpviewer_keywords: ["mapfiles, creating linker", "generate mapfile linker opti
77
---
88
# /MAP (Generate Mapfile)
99

10-
```cmd
11-
/MAP[:filename]
12-
```
10+
## Syntax
1311

14-
## Arguments
12+
> /MAP[:filename]
13+
14+
## Argument
1515

1616
*`filename`*\
1717
A user-specified name for the mapfile. It replaces the default name. Must not exceed `MAX_PATH` (260) characters.

0 commit comments

Comments
 (0)