Question

1
Replies
44
Views
Thierry_SLF Member since 2017 9 posts
Sun Life Financial
Posted: August 6, 2019
Last activity: August 23, 2019
Closed

Use Relative Paths in Deployment Files

When deploying a project you have the option to include external files as part of your deployment. In the .osproj file, it looks something like this

<!-- Deployment -->
<DeploymentFiles>|Desktop|\Private\LocalData\TLS_Messages.xml</DeploymentFiles>

Is there a way to set up that path to be relative to the current project path?

There are a few environment variables that can be used (|Desktop|, |Application|, etc.) but there doesn't seem to be one for the current project path.

In another configuration item, ProjectReference, the path accepts '..' as a way to move up the chain of folders, I tried the same syntax for DeploymentFiles but it failed, is there another way to achieve this?

<ProjectReference Include="..\..\RA-Common\RA-Common\RA-Common.osproj">

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn