Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Empty Project in Visual Studio 2008

Reply
 
Old 11-13-2008   #1 (permalink)
Curious


 
 

Empty Project in Visual Studio 2008

I installed Visual Studio 2008 Express Edition.

I created a new project and picked "Empty Project" as project type.

Then I don't see any file in this project. Normally Visual Studio
would present a default file with a "main". However, I don't see any
default method/file.

Any advice on what to do the next?

My System SpecsSystem Spec
Old 11-13-2008   #2 (permalink)
Family Tree Mike


 
 

Re: Empty Project in Visual Studio 2008

It sounds like you created an empty solution, not an empty project. Right
click on the solution, and add a project.

"Curious" <fir5tsight@xxxxxx> wrote in message
news:042a952c-7a35-49c9-bcf9-184c389eb17c@xxxxxx
Quote:

>I installed Visual Studio 2008 Express Edition.
>
> I created a new project and picked "Empty Project" as project type.
>
> Then I don't see any file in this project. Normally Visual Studio
> would present a default file with a "main". However, I don't see any
> default method/file.
>
> Any advice on what to do the next?
My System SpecsSystem Spec
Old 11-13-2008   #3 (permalink)
Curious


 
 

Re: Empty Project in Visual Studio 2008

Family Tree Mike,

There is a project in the solution:

Solution: Solution 'Swings' (1 project)
Underneath it is the project, Swings.

However, there is only "References" underneath the project. No .cs
file.

I've never used "Empty Project" option (it seems that it's only in
Visual Studio 2008). I was told that "Empty Project" is similar to
"Console Application" in VS 2008. However, there's a default
"Program.cs" created in a "Console Application" project, but there is
none in "Empty Project".

Could it be that this is a bug in VS 2008?
My System SpecsSystem Spec
Old 11-13-2008   #4 (permalink)
Miro


 
 

Re: Empty Project in Visual Studio 2008

Does it allow you to right click and add a form to the project?

"Curious" <fir5tsight@xxxxxx> wrote in message
news:2d1275de-cd44-4f90-a1ed-726bcc0c7113@xxxxxx
Quote:

> Family Tree Mike,
>
> There is a project in the solution:
>
> Solution: Solution 'Swings' (1 project)
> Underneath it is the project, Swings.
>
> However, there is only "References" underneath the project. No .cs
> file.
>
> I've never used "Empty Project" option (it seems that it's only in
> Visual Studio 2008). I was told that "Empty Project" is similar to
> "Console Application" in VS 2008. However, there's a default
> "Program.cs" created in a "Console Application" project, but there is
> none in "Empty Project".
>
> Could it be that this is a bug in VS 2008?
My System SpecsSystem Spec
Old 11-13-2008   #5 (permalink)
Family Tree Mike


 
 

Re: Empty Project in Visual Studio 2008

Sorry, I had never even noticed that project type.

Now seeing it, I can't say it is a bug, because it is "empty". I would say
however it seems fairly useless to me.


"Curious" <fir5tsight@xxxxxx> wrote in message
news:2d1275de-cd44-4f90-a1ed-726bcc0c7113@xxxxxx
Quote:

> Family Tree Mike,
>
> There is a project in the solution:
>
> Solution: Solution 'Swings' (1 project)
> Underneath it is the project, Swings.
>
> However, there is only "References" underneath the project. No .cs
> file.
>
> I've never used "Empty Project" option (it seems that it's only in
> Visual Studio 2008). I was told that "Empty Project" is similar to
> "Console Application" in VS 2008. However, there's a default
> "Program.cs" created in a "Console Application" project, but there is
> none in "Empty Project".
>
> Could it be that this is a bug in VS 2008?
My System SpecsSystem Spec
Old 11-13-2008   #6 (permalink)
Curious


 
 

Re: Empty Project in Visual Studio 2008

Hi Miro,

Yes, it allows me to add a class/form to the project. Maybe I should
start from there?
My System SpecsSystem Spec
Old 11-13-2008   #7 (permalink)
Curious


 
 

Re: Empty Project in Visual Studio 2008

Miro,

I've added a "Code File" and put in the following code:

static Main ()
{

}

However, it doesn't compile. Compilation error is below:

Expected class, delegate, enum, interface, or struct

If I add a Class, that wouldn't work, either, because it asks for an
Main as entry point of the program.

I don't prefer to use this type of project, but the associate I work
with prefers this type.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Create Project.resources.dll like Visual Studio .NET General
Visual Studio 2008 Link Error for VS6.0 Project .NET General
PowerShell Visual Studio project template wiped out all other templates PowerShell
Visual Studio Shuts Down Unexpectedly When Loading Project - ASP.NET Web Application running against IIS .NET General
Tool To Create Function Map Of C#.NET Project In Visual Studio 200 .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46