I have a ClickOnce Winforms app that was deploying to Windows Azure blob storage and running nicely until tonight. There is nothing fancy to this app - it has a dozen forms, uses a couple of Telerik controls and talks to an SQLExpress Database using the Enterprise Library.
After deploying my latest update and testing on the client PC, the application first wanted Microsoft.Web.Infrastructure.dll deployed as well. I thought this was quite odd, so searched the solution looking for a reference I may have accidentally added and could not find any trace. Several cleans/rebuild and redeploys later, I still can't remove the dependency.
Eventually I added a reference to the dll, set copy local true, deployed, and now the app wants System.Web.Mvc 3.0.0.0 - What the?! A bit more googling and trying a few more things and I realise that my project seems to have a dependency on other MVC related dll's (System.Web.Razor and so on.... similar to this MVC3 Deployment Dependency Problems).
I can't find any reference to any MVC components (and I don't need/want any). What am I missing? I'm slowly migrating the project to use entity framework, and on the off chance that this was causing the problem, I removed the entity framework data access project (which had nothing except a model in it so far), this made no difference. Is having this project in the solution at some point causing the dependency problem? I'm really clutching at straws now.
I'm using VS2013 update 2, .NET45