MSBuild Integration

 

Artifactory brings Continuous Integration to MSBuild, TFS and Visual Studio through the MSBuild Artifactory Plugin. Using this plugin,  MSBuild can be configured to resolve dependencies and deploy build artifacts through Artifactory.

Optimized builds through reduced networking

Running builds through Artifactory can reduce build times significantly by reducing networking. This is because Artifactory stores remote artifacts locally in remote repository caches, so once an artifact has been cached, it is locally available for builds without the need for any networking.

Reliable builds

Integrating MSBuild with Artifactory also makes builds more reliable, because any dependency on remote repositories, or the external network has been removed. Even if a remote repository goes down, or if there is an issue with the external network, the build will succeed since remote artifacts are available from the local cache.

Fully reproducible builds

But there is another big advantage of Artifactory’s integration with MSBuild.

Artifactory generates exhaustive build information and uploads it to a local repository together with the build. This includes specific artifact versions, dependencies, system properties, environment variables, user information, timestamps and more. With this information, it is easy to faithfully reproduce a build at any time. Moreover, with built-in “Diff” tools you can compare builds and therefore know exactly what changes were introduced from one version to another. These capabilities can be invaluable when trying to track down bugs that were reported in specific versions released.