DotNetCorePlugins/samples/hello-world
2022-06-04 21:23:10 -07:00
..
HostApp Delete deprecated dependencies and drop support for everything < .NET 6 2022-06-04 21:09:40 -07:00
MyPlugin cleanup: run code formatter and cleanup 2021-01-30 15:41:10 -08:00
PluginContract cleanup: fix links and release note template 2021-01-30 17:37:53 -08:00
hello-world.sln Update samples and docs about how shared types work 2019-11-21 22:59:37 -08:00
README.md Update release notes and README 2022-06-04 21:23:10 -07:00

"Hello World" Sample

This sample contains 3 projects which demonstrate a simple plugin scenario.

  1. 'HostApp' is a console application which scans for a 'plugins' folder in its base directory and attempts to load any plugins it finds
  2. 'MyPlugin' which implements an implementation of this plugin
  3. 'PluginContract' which contains an interface shared by plugins and the host.

Running the sample

Open a command line to this folder and run:

dotnet restore
dotnet run --project HostApp/