How do you integrate ivy with MSbuild

Which approach worked for you by combining IVY + msbuild?

Our goal is to integrate IVY into the C # / C ++ build process to resolve and publish dependencies. We tried to add it to user tasks at the beginning and at the end of the build, and we tried to wrap the msbuild calls with ant + apache-ant-dotnet.

Other options may be gradle, buildr, rake.

What are you using?

thanks

Peter

+7
source share
2 answers

Most build technologies can use libraries found in the local directory. I would suggest using ivy for the command line to populate this at the beginning of your build:

java -jar ivy.jar -ivy ivy.xml -settings ivysettings.xml -retrieve "lib/[conf]/[artifact].[ext]" 

Your dependencies are listed in a standard ivy file called ivy.xml . The protocol, location and location of the remote storage are described in ivysettings.xml

The advantage of this approach (as opposed to switching to Gradle, etc.) is that you are not trying to replace an existing build tool. Ivy is exclusively concerned with dependency management.

+7
source

My team has been using Ivy for .NET for many years now. I know a few more that give him a vote of confidence. Use it separately. Wrap calls in msbuild tasks. No need to use Ant Integration.

0
source

All Articles