473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Compiling from the command line

I downloaded the .NET SDK two months ago in the two setups:

(1) dotnetfx.exe - The 23 MB framework
(2) setup.exe - the 106 MB SDK

I also registered the path C:\WINNT\Microsoft.NET\Framework under the
environment variables section. Yet I am not able to run the c sharp
compiler from the command line. Although I am using Sharp Develop as
well and that works just fine, but I wish to be able to compile raw
code from the command line switches, just for pleasure. I also ran
the batch file sdkvars.bat that comes with the SDK. Am I missing
something?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 16 '05 #1
2 1429
Sathyaish Chakravarthy wrote:
I downloaded the .NET SDK two months ago in the two setups:

(1) dotnetfx.exe - The 23 MB framework
(2) setup.exe - the 106 MB SDK

I also registered the path C:\WINNT\Microsoft.NET\Framework under the
environment variables section. Yet I am not able to run the c sharp
compiler from the command line. Although I am using Sharp Develop as
well and that works just fine, but I wish to be able to compile raw
code from the command line switches, just for pleasure. I also ran
the batch file sdkvars.bat that comes with the SDK. Am I missing
something?


What kind of error do you get? you should be able to use the compiler with
just the framework install, thus without the SDK.

FB

--
Get LLBLGen Pro, the new O/R mapper for .NET: http://www.llblgen.com
My .NET Blog: http://weblogs.asp.net/fbouma
Microsoft C# MVP
Nov 16 '05 #2
Sathyaish Chakravarthy <Vi****************@rediffmail-dot-com.no-
spam.invalid> wrote:
I downloaded the .NET SDK two months ago in the two setups:

(1) dotnetfx.exe - The 23 MB framework
(2) setup.exe - the 106 MB SDK

I also registered the path C:\WINNT\Microsoft.NET\Framework under the
environment variables section. Yet I am not able to run the c sharp
compiler from the command line. Although I am using Sharp Develop as
well and that works just fine, but I wish to be able to compile raw
code from the command line switches, just for pleasure. I also ran
the batch file sdkvars.bat that comes with the SDK. Am I missing
something?


Usually all you need to do is put the framework directory (eg
c:\Windows\Microsoft.NET\Framework\v1.1.4322) in the path.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
0
by: pruebauno | last post by:
Hello all, I am having issues compiling Python with large file support. I tried forcing the configure script to add it but then it bombs in the make process. Any help will be appreciated. ...
0
by: Norm Wong | last post by:
If anyone is interested in using db2uext2 with Cygwin gcc compiler on Windows, I've modified the IBM provided sample with the attached file. There are two main modifications. The mkdir command...
11
by: Carramba | last post by:
hi! thanx for taking time to read my post. code #include <stdio.h> int main() { printf("Hello word!"); return 0; }//END when Iam compiling code with gcc I can't start program in winXP by
4
by: bryan | last post by:
I'm still using Beta 2 of VS2005. I'd like to be able to precompile my web site (similar to 1.x) so that I don't have to put source files on the deployment server. Is there anyway to do this other...
4
by: N. P. | last post by:
I do not have Visual Basic .NET Standard or higher but I have downloaded the ..NET SDK and the 101 VB.NET samples from the MSDN website. I am sure that there must be a way to compile and...
7
by: Sverker Nilsson | last post by:
I have been informed that Guppy-PE (http://guppy-pe.sourceforge.net) has failed to compile its extension modules with a Microsoft .NET 2003 compiler under Windows 2000. One of the problems,...
7
by: maya | last post by:
hi, I'm following example 'Intro7.aspx' here, http://www.csharpfriends.com/quickstart/aspplus/doc/webformsintro.aspx#customctrls it says on top of Acme.cs "namespace Acme" I assume this means...
2
by: stevenruiz | last post by:
Hi Everyone, The Strings.h has the function Get_Line which is defined and the error is shown below: Strings.h: void get_line( istream & );
6
by: JR | last post by:
The code below compiles and runs perfectly in Windows XP Pro, Using MS VS 2005. If I compile with g++ (cygwin) using the following command line: g++ -pedantic -Weffc++ -Wall -Wctor-dtor-privacy ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.