Sun Life Financial
Last activity: 23 Aug 2019 16:11 EDT
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 -->
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?