Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loading a Windows Azure Project from Gallery into Visual Studio 2012

I have a Windows Azure web site. I started this web site as a New -> Compute -> Web Site -> From Gallery. Once here, I chose the Orchard CMS. I have the site successfully running in Windows Azure. My challenge is, I want to do some customizations to it.

How do I get this code into my local Visual Studio 2012 instance so that I can:

  1. Make customizations to the site with Visual Studio 2012.
  2. Check it into source control so other on my team can work on it

I saw the following post: http://www.davidhayden.me/blog/installing-orchard-cms-as-an-azure-web-site. However, this only talks about opening the site in WebMatrix. I want to skip WebMatrix and go straight to Visual Studio if possible.

like image 306
user687554 Avatar asked Dec 03 '12 19:12

user687554


2 Answers

Download WebMatrix and click the Visual Studio button in the ribbon. It must create a solution file for you to then access your website via Visual Studio. I don't have an Azure website at the moment to try it with.


You may need to tweak the registry to get the VS 2012 to open properly:

  • Type regedit and select the HKEY_CLASSES_ROOT.
  • Locate VisualStudio.DTE and change the CurVer to VisualStudio.DTE.11.0
  • Finally change the CLSID to {059618E6-4639-4D1A-A248-1384E368D5C3}
like image 62
SliverNinja - MSFT Avatar answered Oct 05 '22 07:10

SliverNinja - MSFT


You do not need to use WebMatrix at all; another option is to just download the files from FTP and then create a VS solution and add the files you downloaded.

From Visual Studio you can easily deploy the solution to TFS and to your azure website.

As a side note, as of today (January 28th, 2014) the registry edit proposed by SilverNinja is no longer needed, I was able to open VS 2013 Professional from Webmatrix without editing the registry.

like image 29
MyNameIsKippo Avatar answered Oct 05 '22 08:10

MyNameIsKippo