Trying to create a custom nuget package.

3 posts, 1 answers
  1. Andrew
    Andrew avatar
    16 posts
    Member since:
    May 2016

    Posted 09 May Link to this post

    I am new to Kendo and trying to create a custom nuget package for Kendo UI MVC 4 and 5 that only has the stuff I need. I have downloaded the Telerik.UI.for.AspNet.Mvc5.2016.2.504.nupkg package from this site to start as a base, but there are many files and many things.

    I just want a nuget package that has  1) no localizations/culture specific things, 2) only has my custom theme I made with the themebuilder (attached .zip from that), which uses material as a base (I started with material and changed a few colors), 3) no source folder under content -> kendo -> 2016.2.504-source. 4) no .less, 5) no .ascx

    So with those requirement what how can I make my own nuget package from that? What do I need to include to make it work?

    Also why the MVC 5 web.config transformer using 5.1 when the most current version is 5.2.3? This will cause problem since the binding redirect only go up to 5.1.0.0 for MVC but my project has MVC 5.2.3?

  2. Andrew
    Andrew avatar
    16 posts
    Member since:
    May 2016

    Posted 09 May Link to this post

    I should clarify, I am trying to make two separate packages one for MVC 4 and one for MVC 5. Not one for both versions.
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Answer
    T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 11 May Link to this post

    Hi,

    The NuGet file is also a ZIP archive so customization of the content is easy - just extract it, modify the content and repack it. That's good for one-time fixes.

    To get a more repeatable process you can start with a nuspec file. I'm attaching the one we use to build the Telerik.UI.for.AspNet.Mvc5 package.
    It should make a good starting point. The NuGet documentation is quite good and should fill in the missing details.

    I hope this helps.

    Regards,
    T. Tsonev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top