Is there an .Net equivalent of ivy?

We use Ivy to manage dependencies in our office. It resolves our dependency list for any of the project lists and does it very well to be fair. He also publishes released dependencies back to our shared Ivy repository for future inclusion in other projects.

But ... he has a dependency on Java, and we see it as a minor flaw, which, if we could root it out, it would be fantastic.

So, is there an .Net ivy equivalent? I found this site on CodeHaus that looked sooo promising, but there is zero content.

We understand that NuGet can make private repositories, but because of the large amount of code we have at home, it would be a huge task to convert / port to use NuGet to resolve / publish our dependencies in the same way as we do with Ivy.

+4
source share
3 answers

We are a .NET store and we use ivy. When we started, we tried to use ivy through java calls, but switched to an ant call so that we could use ivy's built-in tasks directly. We did this because ivy tasks gave us more opportunities.

Our build scripts are written in nant. Nantes then turns to ant and passes several properties so that it can perform ivy tasks. I am sure that the same could be done with MSBuild.

<exec program="C:\ant\1.8.2\bin\ant.bat" commandline="-buildfile ${build.dir}\${ivy.tasks.build.file} -verbose -Divy.properties.file=${ivy.properties} retrieve" verbose="true"></exec> 

It feels a little odd to call nant's ant, but it works well. Plus, ivy is contained in its own build file, doing what it should do (dependency management) and nothing more.

+1
source

Dependency management, as a concept, is very new in .NET, and the resulting solution looks like NuGet.

I would recommend installing Nexus , which supports local hosting of NuGet repositories . It's also worth considering using Nexus to manage the contents of your ivy repository (ivy has built-in support for Maven repositories).

Update

Ivy has a command line client that you can simply call from your msbuild script:

Not quite a .Net solution, but a workable alternative to completely switching to NuGet.

+3
source

There is a young open source project that claims to be a Maven alternative for .Net. Here's the link: http://byldan.codeplex.com/

I don’t know if it is stable.

+1
source

Source: https://habr.com/ru/post/1436327/


All Articles