Home All Groups Group Topic Archive Search About

project and solution.

Author
30 Mar 2010 7:26 AM
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 :)

Author
30 Mar 2010 11:00 AM
Cor Ligthert[MVP]
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?

Show quoteHide quote
"Mr. X." <nospam@nospam_please.com> wrote in message
news:#BISGp9zKHA.5936@TK2MSFTNGP04.phx.gbl...
> 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 :)
Author
30 Mar 2010 11:12 AM
Phill W.
On 30/03/2010 12:00, Cor Ligthert[MVP] wrote:

> 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.
Author
30 Mar 2010 12:29 PM
Cor Ligthert[MVP]
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

Show quoteHide quote
"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-k> wrote in message
news:hosmai$j1m$1@south.jnrs.ja.net...
> On 30/03/2010 12:00, Cor Ligthert[MVP] wrote:
>
>> 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.
>
Author
30 Mar 2010 3:49 PM
Family Tree Mike
"Cor Ligthert[MVP]" wrote:

> 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
Author
30 Mar 2010 4:04 PM
Cor Ligthert[MVP]
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

Show quoteHide quote
"Family Tree Mike" <FamilyTreeM***@discussions.microsoft.com> wrote in
message news:30F1A3B5-C59F-4E23-A755-6F6C1E73A46D@microsoft.com...
>
>
> "Cor Ligthert[MVP]" wrote:
>
>> 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
>
Author
30 Mar 2010 5:41 PM
Family Tree Mike
"Cor Ligthert[MVP]" wrote:

> 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
Author
30 Mar 2010 7:27 PM
Mr. X.
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 :)

Show quoteHide quote
"Family Tree Mike" <FamilyTreeM***@discussions.microsoft.com> wrote in
message news:4BF95FDD-615D-41D4-B4C5-6CF32D41BB45@microsoft.com...
>
>
> "Cor Ligthert[MVP]" wrote:
>
>> 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
>
>
Author
30 Mar 2010 8:33 PM
PvdG42
"Mr. X." <nospam@nospam_please.com> wrote in message
news:OaxTM8D0KHA.6140@TK2MSFTNGP05.phx.gbl...
> 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?
Author
30 Mar 2010 9:02 PM
Family Tree Mike
On 3/30/2010 3:27 PM, Mr. X. wrote:
Show quoteHide quote
> 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.

--
Mike
Author
30 Mar 2010 9:08 PM
Armin Zingler
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.

--
Armin
Author
30 Mar 2010 9:31 PM
Mr. X.
> ...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 :)
Author
30 Mar 2010 9:46 PM
Family Tree Mike
On 3/30/2010 5:08 PM, Armin Zingler wrote:
> 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.

--
Mike
Author
30 Mar 2010 4:24 PM
Tom Shelton
On 2010-03-30, Cor Ligthert[MVP] <Notmyfirstn***@planet.nl> wrote:
> 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.

--
Tom Shelton
Author
30 Mar 2010 5:03 PM
Mr. X.
> 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 :)
Author
30 Mar 2010 5:24 PM
Cor Ligthert[MVP]
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.

Show quoteHide quote
"Tom Shelton" <tom_shel***@comcastXXXXXXX.net> wrote in message
news:eGvIsVC0KHA.3264@TK2MSFTNGP06.phx.gbl...
> On 2010-03-30, Cor Ligthert[MVP] <Notmyfirstn***@planet.nl> wrote:
>> 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.

> Tom Shelton