Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johannes Lantz 156 posts 838 karma points c-trib
    Nov 30, 2022 @ 16:15
    Johannes Lantz
    0

    Hi!

    I was curious about the package files for Umbraco 10. I've installed both Umbraco forms & uSync. But there are no package files in sight. The files seems to be located in the smidge folder?

    I am a bit curious on how this works. And how I could incorporate this onto my own package?

    //Johannes

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Nov 30, 2022 @ 16:49
    Kevin Jump
    100

    Hi Johannes,

    both uSync and Umbraco forms are using the Razor Class Libraries Static files feature, which means while you are developing the files are served from the nuget cache - and when you publish the files are copied into the site.

    As you have seen this means there are less files cluttering up your solution and it makes sure that when packages are updated all the files are updated too.

    I've written a couple of blog posts about how we did this for uSync and other packages - these might give you a starting point for how to do it for your packages.

    https://dev.to/kevinjump/umbraco-10-razor-class-library-packages-pt1-3nfa

  • Johannes Lantz 156 posts 838 karma points c-trib
    Dec 02, 2022 @ 21:52
    Johannes Lantz
    0

    Hi Kevin!

    Thank you so much for the explanation! The blog posts really helped me out!

    //Johannes

Please Sign in or register to post replies

Write your reply to:

Draft