IVsOutput2::get_RootRelativeURL Method (String^)
Visual Studio 2015
Returns an output item's path relative to the application directory when installed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pbstrRelativePath
-
Type:
System::String^
[out] Pointer to the canonical name.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsOutput2::get_RootRelativeURL( [out] BSTR *pbstrRelativePath );
This method is useful for Web-based project outputs for which the relative path cannot automatically be calculated. It is also useful when an output item is located outside of a project's directory. This occurs when outputs are not currently local and therefore do not match up with the value returned by get_RootURL. Projects that are not hierarchical should return "." from this method.
Show: