Can you add a refference to System.Web.dll in aWcfServiceLibrary.
I want to create a Wcf service that executes a EXE on the server. For this I have the following code:
System.Diagnostics.Process process1 = new System.Diagnostics.Process();
process1.StartInfo.WorkingDirectory = System.Web.Request.MapPath("~/view");
process1.StartInfo.Arguments = "arguments";
process1.StartInfo.FileName = Request.MapPath("WindowsMediaPlayer.exe");
process1.Start();
but the problem is that Request is in System.Web.dll and this assemblt does not appear in the list of assemblies that I can add as refference to a WcfServiceLibrary.
What would you suggest?