MichaelRed
Programmer
Code:
/// WROX C# 2008 pp 57-58 Mathlibrary (Example)
// Error 13,.4 & 13.26 " ... missing using directive of an assembly reference ... "
using System;
///using MathLibrary.dll;
namespace WROX.ProCSharp.Basics
{
class Client
{
public static void Main()
{
MathLib mathObj = new MathLib();
Console.WriteLine(mathObj.Add(7,8));
Console.ReadLine();
}
}
}
but MathLlibrary did compile to "MathLibrary.DLL"
I have used the several variations of the command line to compile this (MathClient.cs) including:
/r:MathLibrary.dll (which is shown in the tome)
/r:{fully qualified path} & "\MathLibrary.dll"
MathLib is the public class within MathLibrary
any help appreciated
MichaelRed