/dotnet-bsp

Implementation of the BSP (Build Server Protocol) for dotnet C#

Primary LanguageC#MIT LicenseMIT

dotnet-bsp

Build Server for .NET C#. BSP is designed to allow your editor to communicate with different build tools to compile, run, test, debug your code and more. For more info see the Official BSP specification.

This is currently in active development and is not stable. You are welcome to contibute and make PRs.

Implemented server interface features:

  • BuildInitialize: request
  • OnBuildInitialized: notification
  • BuildShutdown: request
  • OnBuildExit: notification
  • WorkspaceBuildTargets: request
  • WorkspaceReload: request
  • BuildTargetSources: request
  • BuildTargetInverseSources: request
  • BuildTargetDependencySources: request
  • BuildTargetDependencyModules: request
  • BuildTargetResources: request
  • BuildTargetOutputPaths: request
  • BuildTargetCompile: request
  • BuildTargetRun: request
  • BuildTargetTest: request
  • DebugSessionStart: request
  • BuildTargetCleanCache: request
  • OnRunReadStdin: notification

Client remote interface features:

  • OnBuildShowMessage: notification
  • OnBuildLogMessage: notification
  • OnBuildPublishDiagnostics: notification
  • OnBuildTargetDidChange: notification
  • OnBuildTaskStart: notification
  • OnBuildTaskProgress: notification
  • OnBuildTaskFinish: notification
  • OnRunPrintStdout: notification
  • OnRunPrintStderr: notification

Build

dotnet build && dotnet publish

Setup for project

Build the project before you run the install script.

./install.sh ../my-sample-project/

Credits

Thanks to the following projects that helped me to build this project.