Home > Net >  How to make external dependencies on a shared items project in VS?
How to make external dependencies on a shared items project in VS?

Time:02-10

I am in need of sharing some header files between two different projects. So I created a shared items project, and now I can't figure out how to add external dependencies to it, so I could use includes from the WDK 10 shared folder. Did anyone run into this problem before? I can still add external dependencies on a library project, but somehow not on shared items.

CodePudding user response:

As the article says

These “shared items” projects don’t participate in build but they can contain any number of C headers and sources.

And you need to add the dependencies to the actual build project.

  • Related