I think WebSharper.Warp is closely related to what you are trying to achieve.

Try to change the compiler.Compile expr to

1
2
let asm = Assembly.GetCallingAssembly()
compiler.Compile(<@ () @>, context = asm)

(got that from WebSharper.Warp code) Hope this help.

By on 11/23/2015 6:33 AM ()

Hey, thanks for you answer! I have not tried this yet, but will do soon! I ended up working around this differently for now, but I'd still like to have a way to do this manually.

By on 11/26/2015 1:28 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper