This is more like a beginner question, but till now I have worked on small C# projects and I know how to add a separate project.
I will create a class library, and add reference of it as per needed, and then I am good to go. I will have something like below:
Project Main -> references Project Temp1
-> references Project Temp2
But all this when built will form ONE .sln
file.
Question: how can I link separate .sln
? So, I have 5 separate Visual Studio solutions, and I want to add reference, how to achieve it? Is it possible for one .sln
file to link to another .sln
file?
Edit : I created a sample application A1
, and another application B1
. And now when I go to Project A1 and click on Add reference why don't I see project B1
there?
Your screenshot shows the reference manager with item "Projects > (current) Solution" open. This list shows all projects in currently opened solution. To see your "B1" project here, add it to solution first:
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.