-
Notifications
You must be signed in to change notification settings - Fork 17
Building OGDI with Visual Studio
These instructions are included to encourage you to customize or extend the OGDI Project. There isn't much difference between Building and Packaging OGDI via Visual Studio from Building or Packaging OGDI using PowerShell, this is simply an alternative depending on your personal comfort level with either tool.
- Open Visual Studio
- Click on File, Hover over Open, Select Project/Solution... (or use the shortcut: Ctrl + Shift + O)
- Use the address bar to navigate to %OGDI_ROOT%
- Select Ogdi.sln
- Click Open
Once the Solution has been opened, the Solution Explorer window should be open containing the structure of the Solution. If the Solution Explorer window does not open, it can be opened with the shortcut Ctrl + Alt + L
The Data Service is used to interact with the various Windows Azure Storage containers configured in an instance of OGDI.
### Building the Data ServiceBuilding the Data Service before packaging will give you some context around if the package is ready for the Cloud. Be sure to check the Error List window (Ctrl + , E) in Visual Studio for missing assembly references before proceeding to the packaging step.
From the Solution Explorer window in Visual Studio 2010:
-
Expand the DataService solution folder.
-
Right-Click on the Services cloud project.
-
Select Build from the context menu.
In order to deploy OGDI to Windows Azure, the projects must be packaged up into a Cloud Service Package (cspkg).
This section will only cover creating the deployment package, once you have created the deployment package read how to Deploy to Windows Azure.
-
Right-Click on the Services cloud project.
-
Select Package...
-
Select the appropriate Build and Service Configurations.
-
Click Package. This will package the deployment and open Windows Explorer to the location of the packaged files.
The Data Browser is the website in which all of the Data is displayed to a individual.
### Building the Data BrowserBuilding the Data Browser before packaging will give you some context around if the package is ready for the Cloud. Be sure to check the Error List window (Ctrl + , E) in Visual Studio for missing assembly references before proceeding to the packaging step.
From the Solution Explorer window in Visual Studio 2010:
-
Expand the InteractiveSDK solution folder.
-
Right-Click on the InteractiveSDK cloud project.
-
Select Build from the context menu.
In order to deploy OGDI to Windows Azure, the projects must be packaged up into a Cloud Service Package (cspkg).
This section will only cover creating the deployment package, once you have created the deployment package read how to Deploy to Windows Azure.
-
Right-Click on the InteractiveSDK cloud project.
-
Select Package...
-
Select the appropriate Build and Service Configurations.
-
Click Package. This will package the deployment and open Windows Explorer to the location of the packaged files.