Now lets add the console app arguments parser Argu to our console app. This should open a terminal and show the output of the applicaion. Set the MyForgeConsoleApp project as startup project and press the round green icon with a play sign inside. First you have to set your startup project by right clicking the project you want to debug. If don’t dissapear by themselves after a little while, try opening your VSCode Command palette ( Ctrl+Shift+P) and choose Reload window. You might still see some red error markers under open MyForgeConsoleApp. This should eventually give you a Build Time Report and Status: Ok. Since this template uses FAKE to build, run it by opening the VSCode Command palette ( Ctrl+Shift+P) and writing build and selecting FAKE: Build Default or just pressing Ctrl+F5 as you can see here: There might be some red errors under the MyForgeClasslib entries, which means that we’ll have to build our project to get everything working.
#Fable 3 no disc inserted error code
X 0 // return an integer exit code 5 Building Module MyForgeConsoleApp open MyForgeClasslib let main argv = let x = MyForgeClasslib () printfn "%A" x. Now you can go to your MyForgeConsoleApp.fs and replace it with the following contnet:
#Fable 3 no disc inserted error update
Choose the console app and classlib respectively.Īlternatively, right click Project References under MyForgeConsoleApp in the F# Project Explorer pane.Īnd you will be asked which project to reference.įorge will now update your MyForgeConsoleApp.fsproj with a. This will first ask you which project to edit and next the which project to reference. Open the VSCode Command palette ( Ctrl+Shift+P) and write project reference and choose F#: Add Project Reference.
![fable 3 no disc inserted error fable 3 no disc inserted error](https://i0.wp.com/www.geekinspired.com/wp-content/uploads/2009/03/dvd-magnet.jpg)
Now we want to add a project reference to the classlib in our console app. fsproj file open while doing this and see what happens.
![fable 3 no disc inserted error fable 3 no disc inserted error](https://cdn.videogamesblogger.com/wp-content/uploads/2010/10/Fable-3-Rare-Book-3-Location-Screenshot.jpg)
fsx) are not shown in the F# project explorer, but still might influence this command by standing “in the way” if they are included in the. Since F# cares about the order of the files in your project, Ionide supports moving files up or down by right-clicking the file in the F# project explorer:
![fable 3 no disc inserted error fable 3 no disc inserted error](http://i.stack.imgur.com/C9aGa.jpg)
Simply right-click the project you want to add a file to and select Add file Ionide has a menu for manipulating projects.