msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

[Bug]: LNK2005 and LNK1169 Error one or more multiply defined symbols found

Open payn-git opened this issue 6 months ago • 0 comments

Issue Description

when compiling our existing projects with msbuild 17.8 unexpected linker errors popup during compilation. This is not a case on msbuild 17.11. Our build machines are running mixture of 17.8 and 17.10 msbuild versions which cant be changed easily to 17.11 as we have many build machines cross various departments. Any help which can identify why this error happening on 17.8 -17.10 msbuild versions and how to avoid it will be appreciated. Also, it will be good to get some insights why this is not happening on 17.11 msbuild version as there doesn't seems to be anything in changelog which would indicate that such issues were fixed. binary log from compilation on 17.8 is attached. We will be not able to provide source projects\code because of IP.

LNK2005Error.zip

Steps to Reproduce

binary logs attached

Expected Behavior

compilation will succeed without errors

Actual Behavior

compilation faile

Analysis

No response

Versions & Configurations

msbuild 17.8-17.10

payn-git avatar Aug 21 '24 14:08 payn-git