Is there a way to reject a build of a .NET library if a public interface has changed (eg: deleting a public method from a public interface) and assembly version was not upgraded to a MAJOR? It would be better if there was a way to automatically bump the MAJOR/MINOR/PATCH in AssemblyInfo.cs according to the changes were made.
I assume that the build process would some need to know the ancestor branch so it compare version number.