1 Reply Latest reply on Nov 14, 2009 7:05 AM by BaliHi

    Executing mxmlc.exe from a .NET Process

    BillHeit2
      Has anyone tried executing the mxmlx.exe from within C# .NET?

      I've tried several variations of:

      using System.Diagnostics;
      ...
      ProcessStartInfo startInfo = new ProcessStartInfo();
      startInfo.WorkingDirectory = @"C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\bin";
      startInfo.FileName = @"C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\bin\mxmlc.exe";
      startInfo.Arguments = session.FileServer + @"UITestHarness.mxml";
      Process process = Process.Start(startInfo);