This project is read-only.

how to add a third party dependency

Dec 23, 2009 at 11:48 AM

I have already install a third party dll to my the .m2/uac/... folder, and added in my local repo, but after installing the dotnet exe project, 
there's only a exe file in target folder.  And a dll not found error when executing the program.

the pom.xml is like this 

best regards

Dec 24, 2009 at 4:06 AM

and It seems the dependencies are not put into the target folder together with the exe, so how can I execute the exe without the dependency dlls?

Jan 4, 2010 at 7:39 PM

How does this normally work for .NET?  With Java you have to set up the classpath, or make sure everything is included inside the jar.

I would expect, then, that you either need to include the necessary files inside the exe, or else make them available (maybe in the GAC?)

Sorry I don't have enough .NET experience to be able to help, but maybe someone else will.


Jan 5, 2010 at 3:43 AM

You would need to include them in an MSI if you are deploying the exe or as Wendy said add them to the GAC.  I would suggest making an MSI to do the install.  The WiX plugin will allow you to do that with NPanday.