IVsManifestReferenceResolver.ResolveReferenceAsync Method
Returns a task that asynchronously resolves deployed manifest file reference paths to local file paths.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function ResolveReferenceAsync ( _
reference As String, _
relativeToFile As String _
) As IVsTask
IVsTask ResolveReferenceAsync(
string reference,
string relativeToFile
)
IVsTask^ ResolveReferenceAsync(
[InAttribute] String^ reference,
[InAttribute] String^ relativeToFile
)
abstract ResolveReferenceAsync :
reference:string *
relativeToFile:string -> IVsTask
function ResolveReferenceAsync(
reference : String,
relativeToFile : String
) : IVsTask
Parameters
reference
Type: String[in] The reference path to resolve (for example, ms-appx://MyApp-d83h4ljidgki/js/default.js).
relativeToFile
Type: String[in] Defines the local root folder to which the reference parameter value is relative. If this parameter is null, the implementation defaults to using the project root folder.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
The reference path to a local file on disk (for example, C:\users\<username>\projects\MyApp\js\default.js). If the result is null, the reference path could not be resolved.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.