ionide

How to include Akka.net framework for F# in VSCode

孤街浪徒 提交于 2020-12-26 08:22:09
问题 I am trying to use Akka.NET for F# in VSCode using this example I found on the internet. Code // ActorSayHello.fsx #time "on" // #load "Bootstrap.fsx" open System open Akka.Actor open Akka.Configuration open Akka.FSharp open Akka.TestKit // #Using Actor // Actors are one of Akka's concurrent models. // An Actor is a like a thread instance with a mailbox. // It can be created with system.ActorOf: use receive to get a message, and <! to send a message. // This example is an EchoServer which can

How do I designate a startup project in VS Code?

风流意气都作罢 提交于 2020-01-13 08:17:09
问题 How do I designate a startup project in VS Code? Context: In Visual Studio, I right click a project within solution explorer and set it as startup. However, I am not clear on how to accomplish this in VS Code. Note: I recently added a WebAPI project to my directory in VS Code. 回答1: This maybe deserves a better answer. So let me explain. In Visual Studio Code you have to set up your startup projects all in the launch.json and the tasks.json files. Here is a small detailed introduction : Choose

F# ionide websharperserverclient - how to run

北战南征 提交于 2019-12-14 01:00:44
问题 I have a problem with running websharperserverclient template app from ionide project generator, and cannot find any information on the web how to do it - the closest thing i got was this question - I actually tried to run it with xsp4 in the project folder (where the Web.config file is) but every time got a 404 (screenshot attached: xsp4 error). Of course before starting xsp i run the ./build.sh (or FAKE build ) script and it finishes with no errors. I had no problems with websharpersuave

WebSharper F# - How to run a template project created with VS Code and Ionide?

谁说我不能喝 提交于 2019-12-10 21:44:09
问题 I have never worked with .NET before and I would like to know how to run a WebSharper F# project without any IDE. Context I'm running Linux with Mono 4.4.2 The project was created with VS Code and Ionide, using the template websharperserverclient I'm able to compile the code using the automatically generated file build.sh or by executing xbuild , but only .dll files are generated, I couldn't see any .exe I thank in advance for any help! Updates Using websharperserverclient I get weird results