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.
I am not sure how to approach this. Any suggestions welcome!
Thank you,
Genc
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.
I am not sure how to approach this. Any suggestions welcome! Thank you, Genc
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
Thank you Girish! I will give this a try and report back!
is working on a reply...