{"action":"created","issue":{"url":"https://api.github.com/repos/intellifactory/websharper.warp/issues/14","labels_url":"https://api.github.com/repos/intellifactory/websharper.warp/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/intellifactory/websharper.warp/issues/14/comments","events_url":"https://api.github.com/repos/intellifactory/websharper.warp/issues/14/events","html_url":"https://github.com/intellifactory/websharper.warp/issues/14","id":117031544,"number":14,"title":"WebSharper.Collections is missing while trying to use UI.Next with Warp","user":{"login":"Kimserey","id":2263777,"avatar_url":"https://avatars.githubusercontent.com/u/2263777?v=3","gravatar_id":"","url":"https://api.github.com/users/Kimserey","html_url":"https://github.com/Kimserey","followers_url":"https://api.github.com/users/Kimserey/followers","following_url":"https://api.github.com/users/Kimserey/following{/other_user}","gists_url":"https://api.github.com/users/Kimserey/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimserey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimserey/subscriptions","organizations_url":"https://api.github.com/users/Kimserey/orgs","repos_url":"https://api.github.com/users/Kimserey/repos","events_url":"https://api.github.com/users/Kimserey/events{/privacy}","received_events_url":"https://api.github.com/users/Kimserey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Tarmil","id":921395,"avatar_url":"https://avatars.githubusercontent.com/u/921395?v=3","gravatar_id":"","url":"https://api.github.com/users/Tarmil","html_url":"https://github.com/Tarmil","followers_url":"https://api.github.com/users/Tarmil/followers","following_url":"https://api.github.com/users/Tarmil/following{/other_user}","gists_url":"https://api.github.com/users/Tarmil/gists{/gist_id}","starred_url":"https://api.github.com/users/Tarmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tarmil/subscriptions","organizations_url":"https://api.github.com/users/Tarmil/orgs","repos_url":"https://api.github.com/users/Tarmil/repos","events_url":"https://api.github.com/users/Tarmil/events{/privacy}","received_events_url":"https://api.github.com/users/Tarmil/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-16T00:42:37Z","updated_at":"2015-11-18T09:38:40Z","closed_at":null,"body":"Even after referencing WebSharper.Collections, WebSharper.Collections.min.js isn't generated which makes it impossible to use UI.Next with Warp"},"comment":{"url":"https://api.github.com/repos/intellifactory/websharper.warp/issues/comments/157657556","html_url":"https://github.com/intellifactory/websharper.warp/issues/14#issuecomment-157657556","issue_url":"https://api.github.com/repos/intellifactory/websharper.warp/issues/14","id":157657556,"user":{"login":"Tarmil","id":921395,"avatar_url":"https://avatars.githubusercontent.com/u/921395?v=3","gravatar_id":"","url":"https://api.github.com/users/Tarmil","html_url":"https://github.com/Tarmil","followers_url":"https://api.github.com/users/Tarmil/followers","following_url":"https://api.github.com/users/Tarmil/following{/other_user}","gists_url":"https://api.github.com/users/Tarmil/gists{/gist_id}","starred_url":"https://api.github.com/users/Tarmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tarmil/subscriptions","organizations_url":"https://api.github.com/users/Tarmil/orgs","repos_url":"https://api.github.com/users/Tarmil/repos","events_url":"https://api.github.com/users/Tarmil/events{/privacy}","received_events_url":"https://api.github.com/users/Tarmil/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T09:38:40Z","updated_at":"2015-11-18T09:38:40Z","body":"It seems this is a problem since to the introduction of shadow-copying in F# interactive. Warp ensures that all WebSharper assemblies are used, even those not loaded in the current domain, by passing all dlls located in the same directory as WebSharper.Main to the compiler, however shadow-copied assemblies are in separate directories so this doesn't work anymore.\r\n\r\nAdding `#r \"WebSharper.Collections.dll\"` isn't enough because F# interactive is lazy in its referencing: an `#r`'d assembly is loaded reflection-only, and only fully loaded when its code is actually used. So it seems the solution is to `#r` it *and* to make Warp also pass reflection-only-loaded assemblies to the compiler."}}