visual-studio-2013azure-webjobs

The 'DefaultConnection-Web.config Connection String' argument cannot be null or empty


When I deploy my project with "Publish as Azure WebJob" using Visual Studio, I get the error in the title.


Solution

  • Fixed by removing the following markup from the .pubxml file. You must exit/restart VS after removing the markup (or VS will add it back in).

    <ItemGroup>
      <MSDeployParameterValue Include="$(DeployParameterPrefix)DefaultConnection-Web.config Connection String" />
    </ItemGroup>