Skip to content

Adding a plugin #105

Closed Answered by Doraku
SebastianSlash asked this question in Q&A
Apr 14, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Sorry I completely forgot to update the plugin sample after releasing the new version. If you use a plugin from the same solution as your project, you should first check that the plugin project and your own project reference the same version of DefaultDocumentation package (DefaultDocumentation for the project, DefaultDocumentation.Api for the plugin, the sample of this repo referenced the beta package of the api...).
Then you should add a reference to your compiled plugin in a <DefaultDocumentationPlugins> property of your csproj like so (or use the absolute path if you are not sure):

...
<PropertyGroup>
<DefaultDocumentationPlugins>$(SolutionDir)DefaultDocumentation.PluginExample/lib/ne…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SebastianSlash
Comment options

Answer selected by SebastianSlash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants