Wednesday, February 14, 2018

Is there a way to reject project reference.

Is there a way through attributes to tag an assembly so that Visual Studio will generate errors if a different assembly containing an implementation of a certain interface tries to add a reference?

I want to enforce decoupled code and on certain conditions disallow reference to the project that contains service implementations as they should only go through interfaces that exist in an infrastructure assembly.

Is there a way to reject project reference. Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team