Hi y'all,
I was playing with the ability to dynamically create an assembly.
I created a windows application in which I created a CSharp program in a
disk file, compiled it etc. My problem is that the dll calls
MessageBox.Show () and this is causing errors in the compilation.
What I need to know is what assemblies must I employ (via 'using' and
CompilerParamet ers.ReferencedA ssemblies.Add() ) to permit a dynamically
created dll to call MessageBox.Show ()?
Thanx,
Bill
PS If 'using System;' references 'system.dll'
Does 'using qqq;' reference 'qqq.dll'?
What about 'using AAA.BBB.CCC'? Can I infer a dll name from the using
specification?
I was playing with the ability to dynamically create an assembly.
I created a windows application in which I created a CSharp program in a
disk file, compiled it etc. My problem is that the dll calls
MessageBox.Show () and this is causing errors in the compilation.
What I need to know is what assemblies must I employ (via 'using' and
CompilerParamet ers.ReferencedA ssemblies.Add() ) to permit a dynamically
created dll to call MessageBox.Show ()?
Thanx,
Bill
PS If 'using System;' references 'system.dll'
Does 'using qqq;' reference 'qqq.dll'?
What about 'using AAA.BBB.CCC'? Can I infer a dll name from the using
specification?
Comment