Friday, December 19, 2014

How to change the deployment URL in a sharepoint hosted app later?

Referred Link - http://stackoverflow.com/questions/16830125/how-to-change-the-deployment-url-in-a-sharepoint-hosted-app-later

Problem
How to change the deployment URL in a sharepoint hosted app later?

Solution 
1) You can always change the SharePoint Site url in the properties of the SharePoint project in Solution explorer.This is the easiest way to do it.
2) Another way to do this is by editing the csproj.user file like this.
xml version="1.0" encoding="utf-8"?>
 ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  
    **Your URL here**

No comments: