Leave the compilation of Visual Studio C # (You don't know C #)

Source: Internet
Author: User

Many people begin to learn. NET The first day must be to install Visual Studio or a lot of books on C # learning the first chapter must be telling you to download a vs

In fact, no vs may not be able to develop, it is possible to say that vs to my development brought a lot of convenience, but as a beginner to use it at the beginning , may cause you to ignore

a lot of original rational things, generally after windowxp Microsoft's window operating system is installed by default. NETFramework, with. NET and Java comparisons, I think

. NETFramework is equivalent to Java's JDK (personal opinion does not like to spray) in Java know that in the JDK Toolkit has javac.exe (compiler Tool) Java.exe (Run tool)

Of course, Java is a virtual machine-based operation, in addition to the JDK also contains the development of debugging the JRE ... Not much here.

Back to the original topic,. NET can also self-compile using the compiler tool, take Win7 as an example is generally in: C:\Windows\Microsoft.NET\Framework64\v4.0.30319

Folder can be found csc.exe this is the C # compiler tool.

At this point, we can configure the environment variable to locate the path to the C:\Windows\Microsoft.NET\Framework64\v4.0.30319;

Note that the addition is good, do not delete the previous,

In fact, this environment variable with the unworthy value is essentially not related, just because we are going to do a dos down

C # files, if not configured then the location will be very troublesome, next cmd open dos test csc.exe whether there is no problem

We can see that after we have configured the environment variables, we will prompt the version of the compiler tool after we enter Csc.exe in DOS, but we have not specified the

File, then we'll write a simple c#windorm application using the window's own notepad

Because it might involve a cmd command, if it's not clear, learn a little bit about the cmd dos command,

After compiling, we're going to do this.

So we're not completely out of Visual Studio, are they?

Leave the compilation of Visual Studio C # (You don't know C #)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.