Copied to clipboard

Flag this post as spam?

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


  • Ryan 4 posts 84 karma points
    Jan 23, 2018 @ 15:07
    Ryan
    0

    Move Umbraco Site to Visual Studio

    Hi,

    I am looking for some guidance on how to move an Umbraco site that is currently being updated and developed using the back office to visual studio to allow me to make changes to the site simpler and allow me to have versions of the site.

    Any help with this would be greatly appreciated or even just a point in the right direction.

    Thanks, Ryan

  • Steve Morgan 1348 posts 4457 karma points c-trib
    Jan 23, 2018 @ 15:12
    Steve Morgan
    100

    Hi Ryan,

    I've done this before - create a fresh VS solution and using nuget install Umbraco (follow the general instructions for this).

    Fire it up with a blank DB and let the installer run.

    Now take a backup of your other site's files and DB.

    Back in your VS solution - copy over the files from your website (I'd probably try ignoring the App_Data folder ( but especially include the Views) and include them and restore a copy of your db and update the conn str in the web config and it should work. You might find some funkyness with cache and Examine indexes but clearing these down and rebuilding them should sort it. It might run the upgrade / installer too - let that run through if necessary.

    HTH Steve

  • Ryan 4 posts 84 karma points
    Jan 23, 2018 @ 16:52
    Ryan
    0

    That's great thanks I will give it a go

Please Sign in or register to post replies

Write your reply to:

Draft