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 89 posts 404 karma points
    4 days ago
    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 96 karma points
    3 days ago
    girish
    0

    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 89 posts 404 karma points
    3 days ago
    Genc Kastrati
    0

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

Please Sign in or register to post replies

Write your reply to:

Draft