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:
Invoke build failed due to exception 'Expected "$(_PublishProfileSet)" to evaluate to a boolean instead of "", in condition "$(_PublishProfileSet) And '$(PublishProfileName)' =='' And '$(WebPublishProfileFile)'==''".
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?
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:
Delete the /Properties/PublishProfiles
folder from my project.
1.5. Restart Visual Studio.
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