"DefaultConnection-Web.config连接字符串"参数不能为null或为空. VS2013 [英] The 'DefaultConnection-Web.config Connection String' argument cannot be null or empty. VS2013

查看:113
本文介绍了"DefaultConnection-Web.config连接字符串"参数不能为null或为空. VS2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用Visual Studio 2013/update 4通过发布为Azure WebJob"部署项目时,出现标题错误.

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

推荐答案

已通过从.pubxml文件中删除以下标记来解决.删除标记后,您必须退出/重新启动VS(否则VS会将其重新添加).

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>

这篇关于"DefaultConnection-Web.config连接字符串"参数不能为null或为空. VS2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆