Skip to content

A tool copying the newest .dlls to your .net project to help you debug it

License

Notifications You must be signed in to change notification settings

krzyszsz/BinaryDependencyPropagator

Repository files navigation

Binary Dependency Propagator

(for .net developers)

Build Status

What is it:

This tool is meant to copy dll files between projects to facilitate debugging of .net applications. It is useful when a project is composed of separate solutions requiring manual copying of binaries between the directories. For example, many projects publish their binaries into a private NuGet repository and at a later stage of the build process they download these binary dependencies in a different project. To make debugging easier, you can locally use this tool to override your dll-s with the other dll-s you build on your machine but including your own debugging symbols. This tool automates this process with the assumption that the dll-s with the newest modification date should override the older dll-s with the same name.

Usage:

  • Open the file BinaryDependencyPropagator\Program.cs.
  • Modify the directory names in SearchCriteria property to match your project directories.
  • Build it.
  • Run it every time after you build one of the projects of your application that you would like to propagate to the other parts of your project.

WARNING:

Think twice if this tool is the right choice in your case. It overrides *.dll files so YOU WILL LOSE some of your *.dll-s as they will be overridden by the newer versions of these dll-s

WARNING-2:

This tool has not been extensively tested; I only tried it with my projects and I can prove it works with the integration test. Having said that, it might not work with your project.

Think of it as a template for building your own solution of your own problem. It is meant to be simple to modify so it looks more like a single-file script rather than a normal application.

About

A tool copying the newest .dlls to your .net project to help you debug it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages