IVsManifestReferenceResolver.ResolveReferenceAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a task that asynchronously resolves deployed manifest file reference paths to local file paths.
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ResolveReferenceAsync(System::String ^ reference, System::String ^ relativeToFile);
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ResolveReferenceAsync(Platform::String ^ reference, Platform::String ^ relativeToFile);
Microsoft::VisualStudio::Shell::Interop::IVsTask ResolveReferenceAsync(std::wstring const & reference, std::wstring const & relativeToFile);
public Microsoft.VisualStudio.Shell.Interop.IVsTask ResolveReferenceAsync (string reference, string relativeToFile);
abstract member ResolveReferenceAsync : string * string -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function ResolveReferenceAsync (reference As String, relativeToFile As String) As IVsTask
Parameters
- reference
- String
[in] The reference path to resolve (for example, ms-appx://MyApp-d83h4ljidgki/js/default.js).
- relativeToFile
- 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.
Returns
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.