Open kows opened 6 years ago
I second this! The DLL should indeed live in a seperate NuGet package, e.g. RJP.UmbracoMultiUrlPicker.Core
. Only the AngularJS code that is used for the back-office plugin should be in RJP.UmbracoMultiUrlPicker
.
You can't avoid the dependency on UmbracoCms.Core
, because the Link
class references Umbraco types (IPublishedContent
, Udi
, constants, etc.).
This would result in the following dependancy tree:
App_Plugins\RJP.MultiUrlPicker\*
)
RJP.MultiUrlPicker.dll
)+1 for this. I generally have a core class library project and this is a bit of a pain.
Would it be possible to provide an extra NuGet package which only contains your custom code DLL? I want to use the "Link" type in ModelsBuilder, which I have in a class library. Using the current NuGet I get unwanted stuff like everything below App_Plugins.