I can't reproduce the problem.
I created a new ConsoleApplication from the same application (vs2003) and
pasted the line in.
No problem, it ran fine.
Could you provide a complete, yet simplified example that shows the code
being run with the error?
If you could provide the name of the assembly that it thinks is missing.
that will also help.
Jax
"rattansingh" <ra*********@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
Hi. I'm trying to construct a simple console application in c#. I
basically want to print out the sqrt of 9, here's the line:
Console.WriteLine(Math.Sqrt(9));
But an error is saying that an assembly is missing. The namespace system
is already imported, anyone know how to get this working?
I'm using vs.net 2003.
Rats