Skip to content

Update linker-tools-error-lnk1107.md as the description couldn't help me on resolving the linker error and could get the solution from stackoverflow #3578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/error-messages/tool-errors/linker-tools-error-lnk1107.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ms.assetid: a37a893d-5efa-4eba-8f40-6c5518b4b9d0

invalid or corrupt file: cannot read at location

The tool could not read the file. Recreate the file.
The tool could not read the file. Recreate the file.

LNK1107 could also occur if you attempt to pass a module (.dll or .netmodule extension created with [/clr:noAssembly](../../build/reference/clr-common-language-runtime-compilation.md) or [/NOASSEMBLY](../../build/reference/noassembly-create-a-msil-module.md)) to the linker; pass the .obj file instead.
LNK1107 could also occur if you attempt to pass a module (.dll or .netmodule extension created with [/clr:noAssembly](../../build/reference/clr-common-language-runtime-compilation.md) or [/NOASSEMBLY](../../build/reference/noassembly-create-a-msil-module.md)) to the linker; pass the .lib file instead.

If you compile the following sample:

Expand Down