CSharpCodeProvider parameters RRS feed

  • Question

  • My Code is:

    parameters.GenerateInMemory = true;

    Is possibile find its phisical localtion?


    Thursday, May 30, 2013 1:11 PM


  • The assembly is generated in memory so there is no physical location.  If you're referring to the potential temp assembly that it might generate on disk then you could find it by using the Assembly.Location or Assembly.CodeBase properties on the generated assembly but it'll likely be empty in this specific case.

    Michael Taylor

    • Marked as answer by Alan91 Thursday, May 30, 2013 2:32 PM
    Thursday, May 30, 2013 2:13 PM