Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ResourceIndexer.ResourceIndexer(Uri, Uri) constructor

Applies to Windows only

Creates a new ResourceIndexer specifying the root of the project files and an extension DLL.

Syntax


public ResourceIndexer(
  Uri projectRoot, 
  Uri extensionDllPath
)

Parameters

projectRoot

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

The project root folder (file:// URI).

extensionDllPath

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

The extension DLL path (file:// URI).

Remarks

The parameter projectRoot represents the root of the project for the files to be produced. This is used to determine file paths relative to the package that will contain them.

The parameter extensionDllPath represents a full path to an extension DLL that is Microsoft-signed and implements the ext-ms-win-mrmcorer-environment-l1 API set. This determines the file path from where the MRT environment extension DLL will be loaded.

The paths must be absolute paths with the drive letter specified. Long file paths are not supported.

This example shows the constructor used to index source assets intended for a Windows Phone project:


var idxr = new Windows.ApplicationModel.Resources.Management.ResourceIndexer( 
    new Uri("file:///C:\MyApp\"), 
    new Uri("file:///C:\WPSDKPATH\bin\MrmEnvironmentExtDl.dll"));


Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Resources.Management
Windows::ApplicationModel::Resources::Management [C++]

Metadata

Windows.winmd

See also

ResourceIndexer
ResourceIndexer(Uri)
ResourceIndexer

 

 

Show:
© 2014 Microsoft