Referencing an EXE in a Visual Studio Project

In using Visual Studio to add a reference to an assembly, can the referenced assembly be an EXE . In other words, you are creating Program01.EXE and adding the reference
Program02 EXE.

Program01.exe  making a reference to Program02.exe.

Hope that is clear. what I am asking.
Lawrence AverySystem DeveloperAsked:
Who is Participating?
 
käµfm³d 👽Connect With a Mentor Commented:
If Program01.exe is a .NET assembly, then yes. Once you add a reference you can treat the executable as if it were any other .NET library.
0
 
Lawrence AverySystem DeveloperAuthor Commented:
thanks
0
 
käµfm³d 👽Commented:
On rereading this, I meant to say if Program02.exe is a .NET assembly. Hopefully you caught that  = )
0
 
Lawrence AverySystem DeveloperAuthor Commented:
yes I did. That's ok.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.