betawebsharper

Possibly Bug in Websharper Zafir-Libraries (Beta)


I'm trying to create a Sitelet with SiteletBuilder in C#:

return WebSharper.Sitelets.Content.Page(...)

However, the class Websharper.Sitelet contains Content both as Struct and Class.

So, this does not compile.

Versions of Zafir-Libraries are

How to reference WebSharper.Sitelets.Content proberly?

Or is this indeed a bug?


Solution

  • Thanks for the report, created ticket: https://github.com/intellifactory/websharper/issues/645

    I have been testing with having using WebSharper.Sitelets; and then using with shorter form Content.Page(...). C# can resolve this for some reason, although the name conflict indeed exists in WebSharper.Sitelets.dll