The text of this article is not in this database — only its details are. Read it on the old site: Basic Concepts of C#
2 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Basic Concepts of C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Sai Kumar KoonaPosted May 19, 2012, 3:14 AM
Hi Sam, Its not possible to compile a file without creating a project, when you open a cs file in visual studios it will be equal to opening it in any text editor.
Sam HobbsPosted May 18, 2012, 3:14 PM
How do we compile a file using Visual Studio without creating a project? I was unable to do that. I created a cs file as you describe but I was unable to compile it using Visual Studio. I was able to compile it using the compiler (csc) in a command prompt. Thank you for reminding me that the command prompt with the environment variables set properly can be executed fromn the item in the Start Menu.