I am looking for some VS2012 extension or another solution of the following problem:
- I want to check that the my C# custom attribute was set to a Public class.
- If it is not, then raise an error compiling the project.
I would like to see this test took place in the studio and has been associated with the compilation. And yes, I know it can be done, for example test using Ndepend or make runtime check.