enabling console application ?

G

Guest

Hello All,

It is said that :
Enabling the console window is easy. From Microsoft Visual Studio®, right-click on the project and choose Properties. Change the output type from Windows Application to Console Application.

I use C# Standard Edition and I can't change the output type files from Windows Application to Console Application.
I can' t find how tho change it although I follow this procedure:
Menu Project -> Properties -> Common Properties -> General.
Only this menus exist:
1. Assembly Name
2. Default Namespace
3. Startup Object
4. Application Icon
5. Supported Runtime

There is no Output Type property menu.
Is this because I use Microsoft Visual C# Standard Edition?

Can you help me?

Sincerely Yours,
Pujo Aji
 
G

Guest

Hi ajikoe,

If you want to code a console app, when you create a new project, choose Console application rather than class library or windows app.

I had no idea on standard edition.

If you had problems, then you can use csc command

csc /t:exe /out:App.exe App.cs

Have fun! Correct me if i am wrong.
 
T

Tamir Khason

Right click you project and then "Properties" You'll see Output Type

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "


ajikoe said:
Hello All,

It is said that :
Enabling the console window is easy. From Microsoft Visual Studio®,
right-click on the project and choose Properties. Change the output type
from Windows Application to Console Application.
I use C# Standard Edition and I can't change the output type files from
Windows Application to Console Application.
 
G

Guest

Hello Chua Wen Ching,

I'm curious because it should work right?
Since I want to change it during my debug time, console could be very usefull sometimes.

Can you find the Output Type property in your computer?

Sincerely Yours,
Pujo
 
G

Guest

Hello,
I still can't find it?
do you use standard edition too?

Sincerely Yours,
pujo
 
G

Guest

Hi ajikoe,

Hi there. I am not sure.

I am using VS.NET 2003 Enterprise Architect and I had another PC using VS.NET 2003 Professional.

From what i see you want to do debugging with Console.WriteLine() right?

You can use this:

using System.Diagnostics;

Debug.WriteLine

It will appear in the output windows, find it somewhere in View in VS.NET 2003 IDE.

Hope it helps. I will get back to you on the output type. I will check with my friends see whether they had standard edition and face this problem. Also hope Microsoft people can help you too.
 
G

Guest

ok, I'm waiting for you.
Thank you for your advice about Debug.WriteLine(...)

Sincerely Yours,
Pujo Aji
 
J

Johann Gysin

I have absolutely the same Problem in C# Standard edition. The menu to
set the output-type is missing.

John
 

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

Top