From http://stackoverflow.com/questions/17863627/msbuild-cannot-find-a-dll-that-has-been-bindingredirectd-via-web-config
It seems that despite loading the System.Web.* binaries into the AppDomain, invoking the WebConfigurationManager complains about not being able to find the binaries
Comments: The code change is in this branch - https://razorgenerator.codeplex.com/SourceControl/changeset/1c4b41b7ff4d07339aa2937d6cfe546565dbcab6. I need to figure out a better place to put the AssemblyResolve in. As it stands now, we'll keep adding ResolveEventHandlers each time we precompile a file.
It seems that despite loading the System.Web.* binaries into the AppDomain, invoking the WebConfigurationManager complains about not being able to find the binaries
Comments: The code change is in this branch - https://razorgenerator.codeplex.com/SourceControl/changeset/1c4b41b7ff4d07339aa2937d6cfe546565dbcab6. I need to figure out a better place to put the AssemblyResolve in. As it stands now, we'll keep adding ResolveEventHandlers each time we precompile a file.