Microsoft.VisualStudio.R.Package.ProjectProperties.GetRemoteProjectPathAsync C# (CSharp) Method

GetRemoteProjectPathAsync() public method

Gets the destination path for a project on the remote host.
Default destination is ~/
public GetRemoteProjectPathAsync ( ) : Task
return Task
        public async Task<string> GetRemoteProjectPathAsync() {
            var runProps = await GetConfigurationRunPropertiesAsync();
            var remotePath = await runProps.RemoteProjectPath.GetEvaluatedValueAsync();
            if (string.IsNullOrWhiteSpace(remotePath)) {
                return "~/";
            }
            return remotePath;
        }