This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using WebSharper; | |
| using WebSharper.JavaScript; | |
| using WebSharper.UI.Next; | |
| using WebSharper.UI.Next.Client; | |
| using static WebSharper.UI.Next.CSharp.Client.Html; | |
| namespace Samples { | |
| [JavaScript] | |
| public class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Samples | |
| open WebSharper | |
| open WebSharper.JavaScript | |
| open WebSharper.UI.Next | |
| open WebSharper.UI.Next.Html | |
| open WebSharper.UI.Next.Client | |
| [<JavaScript>] | |
| module HelloWorld = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using WebSharper; | |
| using WebSharper.JavaScript; | |
| using WebSharper.UI.Next; | |
| using WebSharper.UI.Next.Client; | |
| using static WebSharper.UI.Next.CSharp.Client.Html; | |
| namespace Samples { | |
| [JavaScript] | |
| public class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open System.Diagnostics | |
| open System.IO | |
| let ( +/ ) a b = Path.Combine(a, b) | |
| let fcsRepoDir = @"C:\repos\FSharp.Compiler.Service" // set to a folder with FCS built | |
| let fscExe = @"C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe" | |
| let fsc40Exe = fcsRepoDir +/ @"bin\v4.0\FscExe.exe" | |
| let fsc45Exe = fcsRepoDir +/ @"bin\v4.5\FscExe.exe" |