.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

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

python - TypeError: can only concatenate tuple (not "float") to tuple -

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