简体   繁体   中英

Visual Studio 2012 Reference to dll in Library App

I have a such solution hierarchy:

Solution "App"

project App

project Lib

For example, if i want to use somedll.dll in App and in Lib project, i must add references to both projects, but as i understand there must be a way to add .dll only to Lib project, so classes from it would be reachable in App project. Is there a way to do it? Thank you.

假设您有一个将在整个项目中使用的日志记录库,则必须在调用其成员的任何地方都引用该库。

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