Export (0) Print
Expand All

RegisterAssembly.ResolveRef Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Callback method for finding the type library for the specified assembly.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

public Object ResolveRef(
	Assembly assemblyToResolve
)

Parameters

assemblyToResolve
Type: System.Reflection.Assembly

The assembly to find type libraries for.

Return Value

Type: System.Object
null in all cases.

Implements

ITypeLibExporterNotifySink.ResolveRef(Assembly)

Logs an error indicating that the specified assembly is not registered for COM interop in all cases.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft