CompileAssemblyFromSource generates Compiler Error Results RRS feed

  • Question

  • Hi,

    Forgive me if I am in the wrong forum.

    Got this Issue when adding a reference using CompileAssemblyFromSource.
    "could not find library "C:\WINDOWS\Microsoft.NET\Framework64\System.Windows.Forms.dll"

    Prior to that code i used "compilParams.ReferencedAssemblies.Add("C:\WINDOWS\Microsoft.NET\Framework64\System.Windows.Forms.dll")

    I also had added references but not on c:\windows folder.
    Is this something like security issue?

    Thanks in advance. GUI
    Wednesday, February 11, 2009 7:32 AM