简体   繁体   中英

How do Projects interact in a Solution

I did some googling but to no awail. Which is probably due to not knowing the correct lingo.

How do Projects interact/ how would you actualy write the interface between them.

Im not looking for the theory, which was quit easy to find on the msdn, but for the practical application in the VS-enviroment, how to write a library (dll)/ how to have projects interact with each other, and so on.

I do not ask you to do my work. But some online resources.

If what you mean is accessing classes and such from other projects in your solution, all you have to do is add the project as a reference and include its namespace in the file you want to use things from the other project in.

To add a reference, right click References in the solution explorer, then Add Reference->Solution->Projects->Project you want to add.

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