简体   繁体   中英

Why doesn't Visual Studio 2015 link to a dependent dll project

I used to work with Visual Studio 2008. When created a solution with a cpp application project and a cpp dll project and added a build dependency from the app project to the dll project VS was automatically linking the app to the dll. However, this doesn't seem to be the case with VS 2015. I have to add the lib file manually to the linker inputs. Am I doing something wrong?

The answer to Visual Studio 2010 not autolinking static libraries from projects that are dependencies as it should be supposed to almost solved my problem. There is a little differerence: In VS 2015, there is an extra section for references for each project in the project explorer, where the references can be set.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM