Multi project solution

  • Thread starter Thread starter Vasilis X
  • Start date Start date
V

Vasilis X

Hello.
Propably a simple question :

I have a multi project solution in vb.net.
In detail, i have a project "Main" and projects A,B,C.

How can I switch between projects ???

Thanks in advance,
Vasilis
 
Depends on what you mean with 'switch'.

You can right-click on a project in the solution-exploror and select 'Set as
Startup Propject'.
 
I don't want on design time but when my app is running.
Project Main will work as a menu and from there I want to run project B and
project C and so on...
 
Vasilis X said:
I don't want on design time but when my app is running.
Project Main will work as a menu and from there I want to run project B
and project C and so on...

If projects 'A', 'B', and 'C' are class library projects (you can change
that in the project properties), you can reference the class library
projects from your main EXE project (select the EXE project in solution
explorer and choose "Add reference..." from its context menu.
 
Maybe I misunderstand, but I think you should rephrase your question. A
'project' and an 'application'are 2 different things. You can't 'run' a
project, only an application. A project can be of the output-type
'executable', but it is not one. When you build the project, the result may
be an executable.

All of your projects are output-type 'executable', and from one of them you
want execute other ones? Or some are 'class libraries'?
 
All of my projects are output-type "executable" and from them
I want to execute others.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top