Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Accessing the ~/modules folder in Azure

$
0
0

Hi!

We have build a plugin to Episerver where we put views, js and css in the ~/modules/MyPlugin/ and it works just fine local and on a normal server. But when we deploy to Azure we get this problem:

[InvalidOperationException: The view 'Index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/ContentTranslationHistory/Index.cshtml
~/Views/ContentTranslationHistory/Index.vbhtml
~/Views/Shared/Index.cshtml
~/Views/Shared/Index.vbhtml
~/Views/ContentTranslationHistory/Index.aspx
~/Views/ContentTranslationHistory/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
~/modules/MyPlugin/ContentTranslationHistory/Index.cshtml]

The view are locates here: ~/modules/MyPlugin/ContentTranslationHistory/Index.cshtml

But MVC does not find it in Azure. Works perfect on all other environments. Any ideas?

Thanks!

/Kristoffer


Viewing all articles
Browse latest Browse all 9076

Trending Articles