msbuild
msbuild copied to clipboard
[Bug]: LNK2005 and LNK1169 Error one or more multiply defined symbols found
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.
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