Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling myprogram.cs
Message
General information
Forum:
ASP.NET
Category:
Deployments
Miscellaneous
Thread ID:
01180878
Message ID:
01180927
Views:
12
You know what Einar, I did find the bin directory. It was under my project folder like you said. I just didn't look hard enough.

Why does .NET create two folders with the same name when I save my project as.....
...project\MyConsolePrj\MyConsolePrj\bin.... Why Two MyConsolePrj?

Thanks.

>>hmmm... nope. no bin directory. maybe it's because I'm using Express.
>Version of VS should not matter
>>Must a program.cs be a part of a project?
>It does not matter if there is a program.cs file or not but what does matter is that there must be a static method called Main.
>
>Here is my hello .NET World console app (all contained in Program.cs):
>
>using System;
>using System.Collections.Generic;
>using System.Text;
>
>namespace ConsoleApplication1
>{
>    class Program
>    {
>        static void Main(string[] args)
>        {
>            Console.WriteLine("Hello .NET World");
>            Console.ReadKey();
>        }
>    }
>}
>
>
>To find where VS outputs your assembly take a look in the "Build" tab of the project properties (right click the project in the solution explorer and select properties and then click on Build in the left "pane") In the output section you can change the output path to whatever you want.
>
>Hope this helps.
>
>Einar
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform