ResourceUtils.

RegisterSharedAssembly(Assembly) Method

Summary

Registers the assembly to be used as the fallback if resources aren't found in the local satellite assembly.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Util
Containing Type
ResourceUtils

Syntax

public static void RegisterSharedAssembly(Assembly assembly)

Examples

The following example shows how to register a shared satellite assembly.
Assembly sharedAssembly = Assembly.Load("MyResources.dll");
ResourceUtils.RegisterSharedAssembly(sharedAssembly);

Parameters

Name Type Description
assembly Assembly A System.Reflection.Assembly that represents the assembly to register.

Return Value

Type Description
void