| title | /ILK (Name incremental database file) | ||||
|---|---|---|---|---|---|
| description | The MSVC linker option /ILK specifies the incremental link database file pathname. | ||||
| ms.date | 03/27/2025 | ||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
The /ILK linker option tells the linker where to put the .ilk database file for incremental link information (/INCREMENTAL).
/ILK:[pathname]
pathname
The destination directory and filename for the generated .ilk file. If the /ILK option isn't specified when /INCREMENTAL is used, the filename is created by appending .ilk to the target base filename. When expanded, the fully qualified filename must not exceed MAX_PATH (260 characters).
The /ILK linker option tells the linker the path and filename to use for the .ilk incremental database file when you specify /INCREMENTAL.
- Open the project Property Pages dialog box. For more information, see Set compiler and build properties.
- Select the Configuration Properties > Linker > General property page.
- Modify the Incremental Link Database File property. The default value is
$(IntDir)$(TargetName).ilk.
- See xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.AdditionalOptions%2A.