Skip to content

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

License

Notifications You must be signed in to change notification settings

616b2f/dotnet-bsp

Repository files navigation

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
  • BuildTargetTestCaseDiscovery: request (not in the official specs!)

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.

Releases

No releases published

Packages

No packages published