tunnelvisionlabs / ReferenceAssemblyAnnotator

IL weaver to add nullability annotations to .NET reference assemblies
MIT License
72 stars 8 forks source link

Regenerate annotated assemblies when annotator version changes without needing rebuild or clean #48

Open jnm2 opened 4 years ago

jnm2 commented 4 years ago

Having to rebuild or clean after updating to a new package version would require me to think about implementation details that I will never remember and that I'd prefer not to care about when I use this.

Would you want to add a annotator-version or similar file in the folder with the annotated assemblies containing the package version of TunnelVisionLabs.ReferenceAssemblyAnnotator and the AnnotatedReferenceAssemblyVersion value? That could be checked during normal build to see whether the assemblies need to be regenerated.