The following error was reported in Azure logs after deploying a new version of C# MobileService project from Visual Studio 2013:
More than one static class with name 'WebApiConfig' was found as bootstrapper in assemblies: {{My.MobileService.Project, myMobileService}}. Please provide only one class or use the 'IBootstrapper' attribute to define a unique bootstrapper.
If, in fact, there are multiple versions of mentioned class file, how do I clean it before deploying the new version?
This often happens when you change the name of your assembly. If this is the case, try removing the files in the destination. In the publish web dialog, expand the "File Publish Options", and select the "Remove additional files at destination" option when publishing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With