Copied to clipboard

Flag this post as spam?

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


  • David Amri 214 posts 740 karma points
    Aug 08, 2017 @ 08:25
    David Amri
    0

    In general what files/ folders can be excluded when publishing Umbraco

    Hi,

    As the title says. In general, what files/ folders can be excluded when publishing a Umbraco solution? Is there any files/ folders that should not be published?

    Regards David

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Aug 08, 2017 @ 08:27
    Alex Skrypnyk
    0

    Hi David

    Folders for publishing is the same as usual ASP.NET application. can you show what folders do you have?

    Thanks,

    Alex

  • David Amri 214 posts 740 karma points
    Aug 08, 2017 @ 09:51
    David Amri
    0

    Hi Alex,

    Okey, I'm thinking of the following folders:

    • App_Browser (?)
    • App_Data
      • cache (?)
      • Logs Models (?)
      • packages (included because installed packages)
      • preview (?)
      • TEMP (?)
    • bin (?)

    Regards David

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Aug 08, 2017 @ 10:26
    Alex Skrypnyk
    101

    Hi David

    You need bin, AppData, AppData/packages (included because installed packages)

    You don't need to publish: AppData/cache (?) AppData/Logs AppData/Models (?) AppData/preview (?) App_Data/TEMP (?)

    Thanks,

    Alex

  • David Amri 214 posts 740 karma points
    Aug 08, 2017 @ 11:00
    David Amri
    1

    Awsome, thanks Alex!

    / David

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Aug 08, 2017 @ 20:07
    Sebastiaan Janssen
    3

    The only thing you should exclude is App_Data. Always. The rest is required.

  • Ron Deijkers 2 posts 75 karma points
    Aug 22, 2018 @ 16:35
    Ron Deijkers
    0

    Thank you David for pointing that out.

    As an elegant alternative to copying the dll files it is also possible to add the UmbracoForms nuget package.

Please Sign in or register to post replies

Write your reply to:

Draft