NAnt SDK Documentation - v0.92 |

# ResourceUtils.RegisterSharedAssembly Method

Registers the assembly to be used as the fallback if resources aren't found in the local satellite assembly.

[Visual Basic]
Public Shared Sub RegisterSharedAssembly( _
ByVal assembly As Assembly _
)
[C#]
public static void RegisterSharedAssembly(
Assembly assembly
);

#### Parameters

assembly
  A Assembly that represents the assembly to register.

#### Example

The following example shows how to register a shared satellite assembly.

    Assembly sharedAssembly = Assembly.Load("MyResources.dll");
    ResourceUtils.RegisterSharedAssembly(sharedAssembly);

#### See Also

ResourceUtils Class | NAnt.Core.Util Namespace