hallo zusammen,
ich sehe wohl gerade voll auf der leitung...
kann mir bitte jemand mit dieser compilermeldung weiter helfen? :
"System.Collections.ArrayList Subversion.GetQView.pro_OutputDataReceived(object, System.Diagnostics.DataReceivedEventArgs)" hat den falschen Rückgabetyp.
der fehler tritt immer hier auf:
|
C# Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
try
{
Process pro = new Process();
pro.OutputDataReceived += new DataReceivedEventHandler(pro_OutputDataReceived);
ProcessStartInfo psi = new ProcessStartInfo(@"C:\WINNT\system32\cmd.exe");
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
psi.RedirectStandardError = true;
psi.RedirectStandardInput = true;
psi.CreateNoWindow = true;
psi.Arguments = "/c \"" + sPathSvn + " " + sList + " " + sProject + " \"";
if (psi.Arguments.ToString() != "")
{
pro.StartInfo = psi;
pro.Start();
pro.BeginOutputReadLine();
}
}
|
würde mich freun wenn mir jemand weiter helfen könnte.
thx, truespin