Page 2 of 2

Posted: Thu Mar 03, 2005 3:55 pm
by webmasta
ummmm, your code dont seem familiar and it doesnt compile from the cmd prompt , you might want to check that syntax again.

This is correct AFAIK:
public class FirstClass
{
public static void Main()
{
System.Console.WriteLine("Hello World");
}
}
I tried compiling yours from TP and got :
Microsoft (R) C/C++ Standard Compiler Version 13.10.3077 for .NET Framework
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

hmmm.cpp
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

/out:hmmm.exe
hmmm.obj
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'

Tool completed with exit code 2
And it errors from the cmd prompt using .cpp and .cs extensions.

/Pete.

Posted: Fri Mar 04, 2005 11:16 am
by bveldkamp
Sorry, I don't think I can be of any more help here.

Berend

Posted: Sat Mar 05, 2005 9:08 pm
by webmasta
ok, and thnx for the interest... I gave up trying to get TP to compile my code /

My apologies, I also just realized we are doing different languages .. I am doing C#, I think you are persuing C++, no?.

/Pete

Posted: Mon Mar 07, 2005 8:49 pm
by Drxenos
webmasta wrote:ok, and thnx for the interest... I gave up trying to get TP to compile my code /

My apologies, I also just realized we are doing different languages .. I am doing C#, I think you are persuing C++, no?.

/Pete
You do realize that to use MS command-line tools you must have the environment setup properly? They have a batch file included to do this for you, though I forget the name. If you didn't setup this environment so TextPad is "aware" of it, you compiles will fail. Best way to do this is probably create a batch file that calls the MS batch file, then lauched TextPad.

Posted: Fri Mar 18, 2005 5:13 pm
by ninjalabs
In fact, just add the SDK bin directory and the \windows\microsoft.net\framework\v1.1.x\ directories to your system's path. Works fine.

I have Nant ( http://nant.sourceforge.net/ ) wired into textpad for building stuff with. Works great.

My .Net development environment for you...

- Win2k3 Server (as workstation)
- Textpad 4.7.3
- TortoiseSVN for source control
- Nant for building
- Nunit for testing
- Ndoc for documentation

Whole lot wired into Textpad tools.

I'm using it to build and release manage three *huge* C# projects with no difficulties. The key is the build tool - it can do the whole process for you.