diff --git a/docs/studio/04-plugins/03-write-plugin/index.md b/docs/studio/04-plugins/03-write-plugin/index.md index ad1891d..65dff8a 100644 --- a/docs/studio/04-plugins/03-write-plugin/index.md +++ b/docs/studio/04-plugins/03-write-plugin/index.md @@ -72,6 +72,40 @@ public class TestExtensionModule : IModule } ``` +## The oneware-extension.json file + +## Dependency management + +Your created plugin will contain a oneware-extension.json. There you can specify the compatible and required dependencies. +For an empty plugin with basic dependencies it will look similar to this: + +```json +{ + "Dependencies": [ + { + "Name": "OneWare.Essentials", + "MinVersion": "0.9.0.0", + "MaxVersion": "0.9.0.0" + } + ] +} +``` + +Inside the .csproj file of your plugin you can see the added nuget packages: + +Here you can see that OneWare Dependencies that are included in the IDE anyways are market with `Private="false" ExcludeAssets="runtime;Native"`, so ensure that these dependencies are not copied to the plugin archive. They still need to be added to make compilation work. + +```xml +... + + + + + + +... +``` + ## API Documentation The API is not ready yet, same goes for the documention.