troubleshooting Question

how to from a project, reaching to the other project in C#?

Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden asked on
C#
6 Comments2 Solutions354 ViewsLast Modified:
Hi there;

I got a solution having 2 projects. What I tried to do is using the project1's class and related function in the project2.

I build the project1 and add the executable of project1 as reference to the project2, and then in the project2, trying to import the project1 as

using project2;

But simply above statement is not recognized. what to do?

My other related problem is that:
Both apps are Console application. That, in fact I need only one Main in my program but couldn't solve it out how to do when there are several applications in a solution

Kind regards.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros