PublishProfileSet计算结果为&QUOT

PublishProfileSet计算结果为&QUOT

本文介绍了用的MSBuild天青 - PublishProfileSet计算结果为""的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的部署项目的Azure。我一直在第一摔跤EF code在Azure上了几个小时,但我得到了它去一次,它创建了一个用户。我去发布更新,现在我得到了以下错误:

I'm trying to deploy my project to Azure. I've been wrestling with EF code first on Azure for a few hours, but I got it to go once and it created a user. I went to publish an update, and now I'm getting the following error:

调用编译由于异常失败应为$(_ PublishProfileSet)来评价一个布尔值,而不是,在条件$(_ PublishProfileSet)和'$(PublishProfileName)'==' '和'$(WebPublishProfileFile)'==''。

我已经删除了发布配置文件,并重新添加它,我也取自Azure的新轮廓。这个问题不断弹出。我不能在我的解决方案找到PublishProfileSet任何地方,我不知道在哪里它应该去还是它应该被设置为。我如何能从此一蹶不振任何想法?

I've removed the publish profile and readded it, I've also retrieved a fresh profile from Azure. This problem keeps popping up. I can't find PublishProfileSet in my solution anywhere, and I'm not sure where it's supposed to go or what it should be set to. Any ideas on how I can recover from this?

推荐答案

每赛义德的评论,解决办法是删除整个 /属性/ PublishProfiles 目录在我的解决方案,不要从编辑Web发布配置文件窗口中删除配置文件。是我带的具体步骤如下:

Per Sayed's comment, the solution was to delete the entire /Properties/PublishProfiles directory in my solution, NOT to remove the Profiles from the "Edit Web Publish Profiles" window. The exact steps I took are as follows:


  1. 删除 /属性/ PublishProfiles 文件夹从我的项目。

1.5。重新启动Visual Studio。

1.5. Restart Visual Studio.

这篇关于用的MSBuild天青 - PublishProfileSet计算结果为""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 07:52