[Mono-dev] `System.Diagnostics.Process' is defined multiple times
Jurgen Schoeters
jurgen.schoeters at gmail.com
Mon Dec 19 17:07:01 EST 2005
Hi,
Im'trying to compile a program which uses System.Diagnostics.Process to
execute a C-program, but my program also uses System.I0.Ports from the
2.0 library and this gives a conflict because System.Diagnostics.Process
is defined multiple times (in the 1.0 and 2.0 library).
Could someone help me to solve this problem ?
I don't have much experience with mono.
Compiler output:
mcs Main.cs Config.cs Vectors.cs Gui.cs Comm.cs
-r:/usr/lib/mono/2.0/System.dll -out:Asic_Test_Machine.exe
-pkg:gtk-sharp-2.0 -pkg:gecko-sharp-2.0;
Comm.cs(229,4): error CS0433: The imported type
`System.Diagnostics.Process' is defined multiple times
/usr/lib/mono/2.0/System.dll: `System.Diagnostics.Process', name of
symbol related to previous error
/usr/lib/mono/1.0/System.dll: `System.Diagnostics.Process', name of
symbol related to previous error
Compilation failed: 1 error(s), 0 warnings
make: *** [Asic_Test_Machine.exe] Error 1
Greetings, Jurgen
More information about the Mono-devel-list
mailing list