Skip to content

How to include dependencies in Cake Addin? Dll not found when running task #3885

Discussion options

You must be logged in to vote

There are two possible options:

  1. If license allows you can deploy dependent assemblies as part of your addin NuGet package. This will create a self-contained addin package which will "just work" with either Cake Scripting or Cake Frosting (as long as there are no other addins requiring or bringing in a different version of the same assemblies)
  2. You can define dependencies on the NuGet package. When used with Cake Scripting the addin would need to be loaded using the loaddependencies=true parameter. With Cake Frosting it will just work, including compile time warnings if different addins require incompatible dependencies.

Replies: 1 comment 1 reply

Comment options

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

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