Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
a project which is completed in visual studio 2010 (vb.net) 3.5 .net name : fieldManager

i want to embed above project in my another application which i will be developing in same visual studio 2010 (vb.net) 3.5 .net name : expressionEditor

my question is how much its feasible to add reference EXE instead of dll i.e instead of converting fieldManager project into class library and adding reference will there be any issues if i directly add reference EXE of fieldManager project to expressionEditor

please help!
Posted

Yes - you can add a reference to an EXE or DLL, provided it is a .NET assembly file it's exactly the same (except the EXE has a static Main method, and the DLL doesn't).
Just add a reference in the usual way, and Browse to the EXE file - just change the "Assembly (*.dll)" in the browse dialog combo box to "Assembly (*.exe)", or add the project to your solution and select it from Projects.
 
Share this answer
 
not sure what you mean by add reference exe - you can add your exe as a binary resource to the main project, extract it and run it, if that's what you're looking for
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900