project and solution.

  • Thread starter Thread starter Mr. X.
  • Start date Start date
M

Mr. X.

Hello.
I want to create a system :
1. There is a main menu, and many programs.
2. Each program is a stand alone executable.
3. I want to control the whole system - one compile for the whole system,
and separated compilation, that can be to each program.

How can I do that ?

Thanks :)
 
Begin with creating your first program, the other things will than come
later.

The approach you take are all stand alone solutions.
(There can only be build one exe in a solution)

By the way, you have very good obfuscated your name, is this a serious
question because it sounds so rare?
 
Begin with creating your first program, the other things will than come
later.
The approach you take are all stand alone solutions.
(There can only be build one exe in a solution)

Surely you mean one exe per /Project/? and a Solution can contain /many/
Projects.

Regards,
Phill W.
 
A solution can only build one exe at a time.

(You can change the build parameters and the startup form to change that and
then have more projects in the folder, but I had the idea that this is too
somebody with a question like this very difficult to explain)

Cor
 
Cor Ligthert said:
A solution can only build one exe at a time.

(You can change the build parameters and the startup form to change that and
then have more projects in the folder, but I had the idea that this is too
somebody with a question like this very difficult to explain)

Cor

You can build as many projects as you want in one build of a solution. The
projects may be class libraries, web sites, setup projects, or executables,
and any number of each of those. The only limitation I have seen on a single
project is to the default startup project. That is the project that is
started in a debug session.

I frequently have several executable projects in one solution. There may be
some limits on the Express versions of Visual Studio, but not in the full
versions.

Mike
 
Mike,

The op is not talking about projects, he talks about executables. Not
websites, not class libraries, ...........

Also I was writing about building an exe.

Therefore to what are you referencing?

Cor
 
A solution can only build one exe at a time.

That is only true in the sense that a solution can only build one project at a
time. You can have multiple exe projects in the same solution, and even set
multiple startup projects, so that you can start multiple exe's at a time.
 
That is only true in the sense that a solution can only build one project
at a
time. You can have multiple exe projects in the same solution, and even
set
multiple startup projects, so that you can start multiple exe's at a time.

O.K.
I need step by step how making solution, that has many executable project on
it, please.

Thanks :)
 
Tom?

Reread your reply please (I have deleted a slight part of your message),
what you said the same in its context the same as mine, which you deleted.
 
Cor Ligthert said:
Mike,

The op is not talking about projects, he talks about executables. Not
websites, not class libraries, ...........

Also I was writing about building an exe.

Therefore to what are you referencing?

Cor

I thought you were implying it was not possible to have more than one
project in a single solution where the projects (plural) were console
applications and/or windows forms applications. This is certainly possible,
as I do this all the time. If I misunderstood your point, I appologize.

Mike
 
I didn't mean to run each project at the same time others do - just want to
compile the whole system.

It's nice having one solution and many projects under it.
I need to run only one project, but compile whole of them.
(If it is not possible, it's good enough that I can choose each project and
compile it, but see them all -
I just need some basic arrangement of my code in VB.NET).


1. I didn’t see in VB.NET 2008 (VS 2008) how can I create solution.
2. I don't know how to link an existing project, or new project to a
solution.
How can I do the above ?

Thanks :)
 
Mr. X. said:
I didn't mean to run each project at the same time others do - just want
to compile the whole system.
Will the menu selection:

Build->Rebuild Solution

not do what you want?
 
I didn't mean to run each project at the same time others do - just want
to compile the whole system.

It's nice having one solution and many projects under it.
I need to run only one project, but compile whole of them.
(If it is not possible, it's good enough that I can choose each project
and compile it, but see them all -
I just need some basic arrangement of my code in VB.NET).


1. I didn’t see in VB.NET 2008 (VS 2008) how can I create solution.
2. I don't know how to link an existing project, or new project to a
solution.
How can I do the above ?

Thanks :)

There is always a solution open regardless of the type of project you
create when creating the new project from Visual Studio. Above the
first project you create in the solution explorer (where your forms and
other code is listed), is a line that says "Solution 'somename' (1
project". Right click on this, and choose "Add" then "New Project". VS
adds the project to your solution. That simple.

The same method is used to add an existing project to a solution. You
just need to browse to the existing project.

To select which project you are going to run when hitting the F5 key,
right click a project and select "Set as Startup Project".

Hope this gets you started.

To make sure you are building all the projects that need building at any
time, make sure you understand the "Configuration Manager" settings.
They are found under the Build menu. From your description you want all
projects to be built at build time, which is the default. Just make
sure your projects are checked in the "Build" column.
 
Am 30.03.2010 23:02, schrieb Family Tree Mike:
There is always a solution open regardless of the type of project you
create when creating the new project from Visual Studio. Above the
first project you create in the solution explorer (where your forms and
other code is listed), is a line that says "Solution 'somename' (1
project". Right click on this, and choose "Add" then "New Project". VS
adds the project to your solution. That simple.

....and if the solution file is not visible, open menu Tools -> Options ->
Projects and solutions, and check [x] Always show solution.
 
...and if the solution file is not visible, open menu Tools -> Options ->
Projects and solutions, and check [x] Always show solution.

Thanks.
That was the little thing I should see.
problem solved.

Thanks :)
 
Am 30.03.2010 23:02, schrieb Family Tree Mike:
There is always a solution open regardless of the type of project you
create when creating the new project from Visual Studio. Above the
first project you create in the solution explorer (where your forms and
other code is listed), is a line that says "Solution 'somename' (1
project". Right click on this, and choose "Add" then "New Project". VS
adds the project to your solution. That simple.

...and if the solution file is not visible, open menu Tools -> Options ->
Projects and solutions, and check [x] Always show solution.

Oh yeah... I forgot about that setting from long ago.
 
Back
Top