Razor macros stopped working when installing .NET Framework 4.5
Hi.
I have an Umbraco 4.11.3 installation on Windows Server 2008 R2. This weekend when i downloaded and installed .NET Framework 4.5 to use it on another application in my IIS all my Razor macros stopped working on my website.
Is this a known bug or have I missed something? Tried to google for it, but didn't find anything.
As this was an Vmware server I just reverted the full server to the latest snapshot and the website were up again. But I would really like to be able to install framework 4.5.
Try to set the assembly redirects in the web.config file to use the correct version. The application always prefers assemblies located in the GAC before them located in the apps bin folder.
See here for more details about the assembly redirect binding:
Razor macros stopped working when installing .NET Framework 4.5
Hi.
I have an Umbraco 4.11.3 installation on Windows Server 2008 R2. This weekend when i downloaded and installed .NET Framework 4.5 to use it on another application in my IIS all my Razor macros stopped working on my website.
Is this a known bug or have I missed something? Tried to google for it, but didn't find anything.
As this was an Vmware server I just reverted the full server to the latest snapshot and the website were up again. But I would really like to be able to install framework 4.5.
Thanks!
/H.
Not sure if this can help but I had something similar a while ago:
http://our.umbraco.org/forum/developers/razor/35128-umbraco-49-Why-html-is-always-rendered-as-encoded-html?p=0#comment128021
Make sure you're using the WebHelper dll that comes in umbraco.
Try to set the assembly redirects in the web.config file to use the correct version. The application always prefers assemblies located in the GAC before them located in the apps bin folder.
See here for more details about the assembly redirect binding:
http://msdn.microsoft.com/en-us/library/7wd6ex19(v=vs.71).aspx
is working on a reply...