Copied to clipboard

Flag this post as spam?

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


  • Simran 2 posts 22 karma points
    Mar 24, 2014 @ 21:23
    Simran
    0

    Importing Umbraco Website into Visual Studio

    Hello, we started building our website directly in Umbraco v6. We now realize that we need code behind files for some of the fields which we were trying to build in Contour.

    How do you import the Umbraco website into Visual Studio?

  • Chris Perks 32 posts 114 karma points
    Mar 24, 2014 @ 22:56
    Chris Perks
    0

    Hi!

    In Visual Studio 2013 (but should be the same for all recent versions):

    1. File > New > Project
    2. Choose 'ASP.NET Web Application'. If prompted to use a particular template, choose an empty web application.
    3. Once created, find that folder on disk and copy the contents of your Umbraco directory into your new web application folder.
    4. Back in Visual Studio, enable 'Show All Files' in your Solution Explorer.
    5. Select all of the files which are greyed out and right click, 'Include in Project'.
    You now have a web application from an Umbraco install.
  • Will Campana 3 posts 23 karma points
    Mar 27, 2015 @ 00:11
    Will Campana
    0

    The reply from Chris Perks help a ton. Is there a way to select all greyed out documents to be able to right click and "Include in Project"? I did a CTRL+Click on all greyed out ones and did it that way but perhaps there is a way to select all files that are not included with some sort of short cut.

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Apr 09, 2015 @ 11:16
    Biagio Paruolo
    0

    There is a 6 step: backup remote db and restore db on local pc.

    This is valid for Umbraco 7, too. 

Please Sign in or register to post replies

Write your reply to:

Draft