Copied to clipboard

Flag this post as spam?

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


  • MarcC 49 posts 356 karma points
    Oct 01, 2018 @ 11:40
    MarcC
    0

    App_Plugins folder in external class library project?

    Hey all,

    This might be a simple concept and I am missing the implementation..

    I wish to take my custom app_plugins folder which contains a few custom properties and sections and move it to an external class library project.

    1. Is this possible, and if so are there any steps to allow it to work properly outwith referencing the new project?

    2. Does Umbraco need the app_plugins folder to be in the web project for some compiling/reading requirements?

    3. Is it possible with a class library (dll) project?

    Cheers,

    Marc C.

  • MarcC 49 posts 356 karma points
    Nov 01, 2018 @ 10:59
    MarcC
    100

    Seemingly I can just move the code out and as long as I compile it into my web project I can take these across.

    https://msdn.microsoft.com/en-us/library/ex526337.aspx

    App_Code

    Contains source code for shared classes and business objects (for example, ..cs, and .vb files) that you want to compile as part of your application. In a dynamically compiled Web site project, ASP.NET compiles the code in the App_Code folder on the initial request to your application. Items in this folder are then recompiled when any changes are detected.

Please Sign in or register to post replies

Write your reply to:

Draft