I was going through the Windows Azure Platform Training Kit, Exercise 1 of the Service Bus Messaging lab and I ran into the following error message when trying to run my site, "Conflicting versions of ASP.NET Web Pages detected: specified version is "22.214.171.124", but the version in bin is "126.96.36.199". To continue, remove files from the application's bin directory or remove the version specification in web.config."
I checked the web.config and the assembly specified was indeed 188.8.131.52:
<add assembly="System.Web.WebPages, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />.
When I checked the System.Web.WebPages reference in my project though it also said its version is 220.127.116.11. So what's the problem?
The assembly System.Web.WebPages.Deployment was referenced in my project and on closer inspection it was version 18.104.22.168 so it must be this which is causing the problem. I do not need this assembly though so I deleted it and the error went away.