runn external app from c#

G

gigs

i want to run ironpython from my c# app. im getting this error:

Could not load file or assembly 'Microsoft.Scripting, Version=1.0.0.200,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.


i cant find that assembly on net

code
---------------------------
Process proc = new Process();
proc.StartInfo.FileName = @"C:\Users\Administrator\Desktop\IronPython2\ipy.exe";
proc.StartInfo.Arguments = arg;
proc.StartInfo.Domain = AppDomain.CurrentDomain.ToString();
proc.Start();
proc.WaitForExit();
 
P

Pavel Minaev

i want to run ironpython from my c# app. im getting this error:

Could not load file or assembly 'Microsoft.Scripting, Version=1.0.0.200,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.

i cant find that assembly on net

code
---------------------------
Process proc = new Process();
proc.StartInfo.FileName = @"C:\Users\Administrator\Desktop\IronPython2\ipy.exe";
proc.StartInfo.Arguments = arg;
proc.StartInfo.Domain = AppDomain.CurrentDomain.ToString();
proc.Start();
proc.WaitForExit();

First of all, have you tried to run IronPython yourself (from the
command line)? Does it work for you that way? If not, then it's
probably a broken installation.

Also, have you looked for that assembly under IronPython installation
folder?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top