You could make your WPF library a WebSharper library by adding WebSharper.targets (check this in a new WebSharper library project), and the following line to your project file:

1

<WebSharperProject>Library</WebSharperProject>

This would work for ordinary types (unions, etc.) but not for classes that have members - since those would need to be annotated with [<JavaScript>] if you intend to use them on the client side.

By on 10/24/2015 1:40 PM ()