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?
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With