• Runtime - contains the type system, assembly loading, garbage collection ( )
  • A set of frameworks and libraries ( )
  • A set of tools e.g. language compilers etc. Known as the SDK ( )
  • Apphost selects the runtime to use for an assebly etc.

File locations

  • /usr/local/share/dotnet/sdk - contains the different version of the sdk
  • /usr/local/share/dotnet/shared/Microsoft.NETCore.App - constains the diffrent version of the runtime and framework

dotnet cli commands

  • dotnet new - new C# or F# console application
  • dotnet restore - restores dependencies
  • dotnet build - builds the application
  • dotnet publish - creates an xcopyable version of the app that you should be able to run via dotnet {path to published assembly}
  • dotnet pack - creates an nuget package for the project
  • dotnet –version - tells you what version of the sdk you are using