Sometimes if you attempt to publish the same LightSwitch project to different targets (e.g. first publishing to IIS then publishing to Azure) you can get some weird errors in the publish wizard. If you have switched your publish targets or if you have manually updated/removed settings from your .lsproj or .lsproj.user file, you can do what I refer to as “declaring publish wizard bankruptcy” to start with a clean slate (i.e. the following will wipe out all previous state the publish wizard was keeping track of):
5. Save this file
6. Open your project in VS
7. Attempt to publish, re-specifying all your settings.
So if you ever can’t get publish to work (after it has already worked) try these steps to see if it helps. Otherwise, I will see you on the forums