Copied to clipboard

Flag this post as spam?

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


  • Genc Kastrati 90 posts 415 karma points
    Feb 17, 2025 @ 09:04
    Genc Kastrati
    0

    Umbraco 13 - Web Application Project

    Hi all,

    I am currently working on the upgrade to V13, and for V8 I had a Visual Studio solution that made it possible to compile/prebuild the custom code into a DLL.

    I am wondering if same can be done for V13 because when I clone the Cloud project locally, the folder structure is different from before.enter image description here

    I am not sure how to approach this. Any suggestions welcome! Thank you, Genc

  • girish 23 posts 116 karma points
    29 days ago
    girish
    100

    Yes, you can still compile your custom code into a DLL for Umbraco 13—even with the Cloud project’s different folder structure.

    • Create a separate Class Library: Move your custom code into a new project that builds as a DLL.

    • Add the DLL reference to your main Umbraco project. Adjust build settings: Ensure the DLL is copied to the correct bin folder during the build.

    • Register your services in Startup.cs or Program.cs using dependency injection.

    • Alos please Check the Umbraco Cloud docs for any Cloud-specific changes or recommendations.

    please give it a try

  • Genc Kastrati 90 posts 415 karma points
    29 days ago
    Genc Kastrati
    0

    Thank you Girish! I will give this a try and report back!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies