rasmusjp / umbraco-multi-url-picker

Multi Url Picker for Umbraco 7
MIT License
31 stars 29 forks source link

Extra NuGet package #73

Open kows opened 6 years ago

kows commented 6 years ago

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.

ronaldbarendse commented 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:

spideywebdesign commented 5 years ago

+1 for this. I generally have a core class library project and this is a bit of a pain.