.net - How to remove project external dependecy on project build -


to debug , analyze performance in our project use rhino entity profiler. requires add rhino profiler dll project reference.

as need feature in debug nice completly remove reference on publishing.

it great if there like:

#if debug     <some dll reference /> #endif 

is there relativly simple solution achive this?

if not use code, can safely remove dependency release build.


Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

java - What is the difference between String. and String.this. ? -