Publish ASP.NET MVC 3 RC for Windows Azure

I am trying to deploy my ASP.NET MVC 3 RC for Windows Azure. I added all the links for the MVC 3 and Razor DLLs and set the Copy to Local property for them. That should be pretty straight forward. However, when I made the publication, I got a rather strange error. Exception will show me that the application cannot find a partial view (the first one that loads in my main template. This is the error I received if I try to run the application in the Fabric Development section locally.

This view (partial view) definitely exists, because when I run the application in the usual way using Visual Studio Dev Server Cassini or in IIS, it works like a dream without any errors.

So, it looks like this is something special for Azure. Any help would be appreciated, thanks!

+6
asp.net-mvc-3 azure
source share
1 answer

Make sure that the action to create all your Razor files is set to Content rather than None (configured in the Properties panel, which you can access through Alt + Enter

+9
source share

All Articles