Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I downloaded this microsoft example for a sharepoint hosted app.

When I build an app myself I can set the deployment URL. While this seems a very simple action I can't find how to change or update it later, when it is already set.

So how can I set the sharepoint URL when a project has been deployed already?

like image 525
Nick N. Avatar asked Mar 24 '23 18:03

Nick N.


1 Answers

The easiest way to do it would be to change the SharePoint site URL in the properties of the SharePoint project in the Solution Explorer.

Another way to do this is by editing the csproj.user file like this (source):

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <SharePointSiteUrl>**Your URL here**</SharePointSiteUrl>
  </PropertyGroup>
</Project>
like image 73
msounthar Avatar answered Apr 26 '23 11:04

msounthar