Hallo zusammen
Ich probiere zur Zeit ein bischen mit C# (.net Beta2) rum.
Aus der Msdn habe ich mir folgenden source in eine Datei Hello.cs
kopiert
-----------------------------------------------------
// Allow easy reference to the System namespace classes.
using System;
// This class exists only to house the entry point.
class MainApp {
// The static method, Main, is the application's entry point.
public static void Main() {
// Write text to the console.
Console.WriteLine("Hello World using C#!");
}
}
------------------------------------------------------------
Diese wollte ich mit
"csc /debug+ /out:.\HelloCS.exe helloCS.cs" oder csc /out:.\HelloCS.exe
helloCS.cs " kompilieren.
Ich bekomme aber immer die Fehlermeldung:
Microsoft (R) Visual C# Compiler Version 7.00.9030 [CLR version
1.00.2914.16]
Copyright (C) Microsoft Corp 2000. All rights reserved.
fatal error CS0009: Metadata file
'C:\WINNT\Microsoft.NET\Framework\v1.0.2914\ms
corlib.dll' could not be opened -- 'Schnittstelle nicht unterst�tzt '
Kann mir irgend jemand weiterhelfen?
Thx
Bj�rn
<---------------------------------->
Bj�rn Berger
INVENIT Consulting GmbH
Riehler Str. 36, 50668 K�ln
Tel. / Fax : 0221-77530.0 / .190
Internet : http://www.invenit.de
<---------------------------------->
| [aspdedotnet] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdedotnet.asp