.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What's the best way to command line build?

2 REPLIES 2
Reply
Message 1 of 3
Matt S
213 Views, 2 Replies

What's the best way to command line build?

I have been using C# 2005, and I have been somehwhat successful making some small applications work. Anyway, in order to not require the installation of the .NET 2.0, I want to rebuild my apps using .NET 1.1. Since I don't have C# 2003 I guess I have to do this on the command line.

I am pretty clueless when it comes command line building, but I have learend enough to know that i need to use Nmake, or Nant, or something along those lines. Trouble is, the docs for namke aren't all that pratical, at least not for me, and Nant seems to be the same way. I also haven't had any luck finding any good tutoria or example sites that target .NET.

Could somebody be so kind to as to point me in the right direction where I can quickly learn how to make makefiles? If anybody would be willing to share any simple makefiles specifically used with C# and .NET I would be most appreciative.
2 REPLIES 2
Message 2 of 3
RonnieWilkins
in reply to: Matt S

To build a C# application from the command line, you will need to use the C# Compiler "csc" not nmake.

Step 1, download the .NET 1.1 SDK tools: http://www.microsoft.com/downloads/details.aspx?FamilyID=9b3a2ca6-3647-4070-9f41-a333c6b9181d&DisplayLang=en

Step 2, read up on C# compiler: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cscomp/html/vcrefCompilerOptions.asp

You might also be able to use one of the free C# IDE's, though you will need to recreate the project information.

You also need to make sure that while developing within the C#2005 IDE, you do not use any .NET 2.0 only classes.
Ronnie Wilkins, Jr.
Message 3 of 3
Anonymous
in reply to: Matt S

Using .NET 1.1 with Visual Studio 2005 appears to be somewhat complicated,
see http://blogs.msdn.com/clichten/archive/2005/11/08/490541.aspx.

Dan

wrote in message news:5065740@discussion.autodesk.com...
I have been using C# 2005, and I have been somehwhat successful making some
small applications work. Anyway, in order to not require the installation
of the .NET 2.0, I want to rebuild my apps using .NET 1.1. Since I don't
have C# 2003 I guess I have to do this on the command line.

I am pretty clueless when it comes command line building, but I have learend
enough to know that i need to use Nmake, or Nant, or something along those
lines. Trouble is, the docs for namke aren't all that pratical, at least
not for me, and Nant seems to be the same way. I also haven't had any luck
finding any good tutoria or example sites that target .NET.

Could somebody be so kind to as to point me in the right direction where I
can quickly learn how to make makefiles? If anybody would be willing to
share any simple makefiles specifically used with C# and .NET I would be
most appreciative.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost