Windows Azure Tools for Visual Studio csdef and cscfg do not match

I’m completely losing my mind about this because I have a lot of work and I can’t do anything right now. Something happened, and now every time I try to run our project in the Windows Azure emulator through Visual Studio, it gives an error, as in the title of the question.

"Windows Azure Tools for Visual Studio .cscfg and .csdef do not match"

I never touched these files, I also reinstalled the azure tools (several times!) To make sure they are completely defaulted, and they are. I honestly feel a complete loss here, I have no idea what could be causing this. A Google search for this error turned out to be absolutely without hits, which is bizarre.

+5
source share
7 answers

For me it was empty

<ConfigurationSettings>
</ConfigurationSettings>

I had to embed both cscfg files.

+3
source

I also experienced this problem and was disappointed by the lack of information about it. However, I found that a simple solution was to remove the role from the azure project and re-add it. If you do not have an insane amount of configuration settings to manage, this is a fairly quick and painless process.

+2
source

.

, x86 AnyCPU. .

, :)

+2

, , , Compute Engine :

> Windows Azure Emulator >

Azure.

+1

csdef.

+1

( .cscfg) Visual Studio .csdef. - - ServiceConfiguration.cscfg, .

Note. I added configuration parameters, and they were not in this ServiceConfiguration.cscfg file. My output window showed which options are missing.

0
source

All Articles