help with dependencies please

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

help with dependencies please

yelo_3-2
Hello, I'm building an assembly with maven which depends on
gtk-sharp.dll and System.Runtime.Remoting.dll. I tried to put a
dependency in pom.xml but without success: I don't know which is the
groupId and artifactId of both dll

   <dependency>
   <groupId>Gtk</groupId>
   <artifactId>Gtk</artifactId>
   <version>2.12.0.0</version>
   <scope>system</scope>
   <systemPath>
   /usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
   </systemPath>
   </dependency>

   <dependency>
   <groupId>System.Runtime.Remoting</groupId>
   <artifactId>System.Runtime.Remoting</artifactId>
   <version>2.0.0.0</version>
   <scope>system</scope>
   <systemPath>
   /usr/lib/mono/2.0/System.Runtime.Remoting.dll
   </systemPath>
   </dependency>

the output of mvn install is the following:

[...]
The type or namespace name `Http' does not exist in the namespace
`System.Runtime.Remoting.Channels'. Are you missing an assembly
reference?
[...]
The type or namespace name `Gtk' could not be found. Are you missing a
using directive or an assembly reference?
[...]
Command = /bin/sh -c "gmcs
/out:/home/yelo3/EsameIS/SimulationBelt/target/SimulationBelt-1.0.exe
/target:exe /recurse:/home/yelo3/EsameIS/SimulationBelt/target/build-sources/**
/reference:/home/yelo3/.m2/repository/it/unibo/deis/EsameIS/Belt/1.0/Belt-1.0.dll
/reference:/home/yelo3/.m2/repository/it/unibo/deis/EsameIS/NetworkServices/1.0/NetworkServices-1.0.dll
/reference:/home/yelo3/.m2/repository/it/unibo/deis/EsameIS/Container/1.0/Container-1.0.dll
/warnaserror- /reference:System.Drawing
/reference:System.Windows.Forms /reference:System.Web.Services
/doc:/home/yelo3/EsameIS/SimulationBelt/target/comments.xml"
Reply | Threaded
Open this post in threaded view
|

Re: help with dependencies please

yelo_3
My fault. I forgot do add
<type>dotnet:gac_msil</type>