Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 430 posts 1023 karma points
    Oct 12, 2015 @ 12:32
    Ayo Adesina
    0

    Creating new Visual Studio Solution from Live umbraco project

    Hey Guys,

    I have got a situation where there is a live Umbraco 7 site running, but the company have lost the source code.

    I have done this before so I know its possible, but what is the best way to get all these files from live in to a locally working version.

    I know I will have to decompile any custom code/additional dependent projects.

    but has any one give me an over view of how they think this can be done? (umbraco 7)

  • Hywel Rees 56 posts 224 karma points
    Oct 12, 2015 @ 14:53
    Hywel Rees
    2

    Hi Ayo,

    Personally, I'd take this sort of approach...

    1. Pull down a local copy of the site
    2. Create a brand new VS solution, and install UmbracoCms via NuGet
    3. Copy all views, partial views, macros, css, scripts, App_Plugins etc. from the local copy of the site into your new solution
    4. Diff/merge all of your config files, including web.config

    Any controllers, models, or custom code would - as you suggested - need to be examined with something like JetBrains dotPeek to work out exactly what you need to rewrite.

    Good luck!

Please Sign in or register to post replies

Write your reply to:

Draft