enabling console application ?

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
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.
 
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
 
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.
 
ok, I'm waiting for you.
Thank you for your advice about Debug.WriteLine(...)

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

John
 
Back
Top