From: Lloyd D. <ll...@ga...> - 2002-05-11 06:36:21
|
> Here is the following dump to the console when I try to run the torus > example. > > C:\Documents and > Settings\Unbeliever\Desktop\csgl.1.1.bin\examples\others>torus.exe > > Unhandled Exception: System.IO.FileNotFoundException: File or assembly > name Syst em.Windows.Forms, or one of its dependencies, was not found. > File name: "System.Windows.Forms" > > Fusion log follows: mmhh.. looks like your environment is not properly set for C#/.NET. System.Windows.Form is a default microsoft assembly for GUI component (Frame, Button, ..) could your compile/run any program from your command line ? could you compile compile/run with Form like this one ? // --- compile & run ----- csc t.cs && t // ---- t.cs source ---- using System.Windows.Forms; class Test : Form { public static void Main() { Application.Run(new Test()); } } // -------- if yes and your problems remains I am puzzled !... f not try to set the following env var (and set them acording to your system) (do you have latest version of .NET by the way ? between RC1 and final release namespace System.Winforms became System.Windows.Forms) PATH=C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\ |