Security exceptions when using Page Type Builder
When adding Page Type Builder to an EPiServer project you may run into security exceptions because the assemblies aren't fully trusted. Luckily, fixing it is quick and painless!
It’s common (at least for me) to run into security exceptions when adding Page Type Builder to an EPiServer project.
Nine times out of then (or maybe 10 out of 10) this is because the Page Type Builder assemblies aren’t fully trusted. This in turn is because the assemblies were downloaded off the internet and thus became partially blocked.
Repeat this step for all assemblies required by Page Type Builder and those nasty System.Web.AspNetHostingPermission exceptions should go away!