Skip to content

VS2015 Unable to build in Debug mode #1820

@kendallb

Description

@kendallb

Can't seem to find anything about this but when I loaded the project into VS2015 and did a full build, it fails on CefShare.Core with a bunch of errors like this:

Severity Code Description Project File Line Suppression State
Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in AssemblyInfo.obj CefSharp.Core C:\src\git\CefSharp\CefSharp.Core\libcef_dll_wrapper.lib(cef_stream_resource_handler.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in AssemblyInfo.obj CefSharp.Core C:\src\git\CefSharp\CefSharp.Core\libcef_dll_wrapper.lib(cef_stream_resource_handler.obj) 1

Doing a Google search I found this article which indicates that this is caused by linking debug binaries with release ones for the C++ code, so I changed to release mode and rebuilt and it worked fine.

Is there some reason the project does not compile properly in debug mode and how do we fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions