Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #new F# solution
  2. dotnet new sln -o NAME
  3.  
  4. #new F# class library
  5. dotnet new classlib -lang F# -o src/Library
  6.  
  7. #add library to solution
  8. dotnet sln add src/Library/Library.fsproj
  9.  
  10. #new F# console app
  11. dotnet new console -lang F# -o src/App
  12.  
  13. #add reference to library
  14. dotnet add src/App/App.fsproj reference src/Library/Library.fsproj
  15.  
  16. #build
  17. dotnet build
  18. #run
  19. dotnet run
  20. #test
  21. dotnet test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement