Skip to content

Instantly share code, notes, and snippets.

@phil-scott-78
Last active July 5, 2020 14:24
Show Gist options
  • Save phil-scott-78/addc6f1d02c643f0b2960d1680e47b08 to your computer and use it in GitHub Desktop.
Save phil-scott-78/addc6f1d02c643f0b2960d1680e47b08 to your computer and use it in GitHub Desktop.
External Annotations
<assembly name="AutoMapper">
<member name="T:AutoMapper.Profile">
<attribute ctor="M:JetBrains.Annotations.UsedImplicitlyAttribute.#ctor(JetBrains.Annotations.ImplicitUseTargetFlags)" >
<argument>5</argument>
</attribute>
</member>
</assembly>
<assembly name="FluentValidation">
<member name="T:FluentValidation.AbstractValidator`1">
<attribute ctor="M:JetBrains.Annotations.UsedImplicitlyAttribute.#ctor(JetBrains.Annotations.ImplicitUseTargetFlags)" >
<argument>5</argument>
</attribute>
</member>
</assembly>
<assembly name="MediatR">
<member name="T:MediatR.IRequestHandler`2">
<attribute ctor="M:JetBrains.Annotations.UsedImplicitlyAttribute.#ctor(JetBrains.Annotations.ImplicitUseTargetFlags)" >
<argument>5</argument>
</attribute>
</member>
</assembly>
@phil-scott-78
Copy link
Author

To use place in a folder named ExternalAnnotations off the root of your project and reload your solution. Maybe clear the cache of Resharper because sometimes it takes a few tries for it to pick it up if it's new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment