Monday, 26 August 2013

How to remove project external dependecy on project build

How to remove project external dependecy on project build

To debug and analyze performance in our project we use rhino entity
profiler. It requires to add rhino profiler dll as project reference.
As we need this feature only in debug it would be nice to completly remove
this reference on publishing.
It would be great if there were something like:
#if DEBUG
<some dll reference />

No comments:

Post a Comment