I\'m writing an add-in for Outlook using the new framework. The manifest in the project template uses ~remoteAppUrl
to represent the location of the web files. It w
Yes, there is a built-in way to have Visual Studio replace the ~remoteAppUrl
symbolic reference token by the target URL of your choice.
The following ways are not built-in but may be useful as well.
If you want this in an automated build, you need to specify values for the build parameters IsPackaging
(True
) and RemoteAppUrl
.
If you want this in the standard Visual Studio Build, given that Visual Studio does not provide an easy way to specify Build parameters (see How to emulate /p msbuild parameter in Visual Studio build?) you will need to edit your project file to set the values of the same build parameters. For instance like this:
...
Debug
...
True
...
https://localhost:44300
...
...
https://your.own.url
...