ResolveComReference Class
TOC
Collapse the table of content
Expand the table of content

ResolveComReference Class

 

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

Implements the ResolveComReference task. Use the ResolveComReference element in your project file to create and execute this task. For usage and parameter information, see ResolveComReference Task.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)


public sealed class ResolveComReference : AppDomainIsolatedTaskExtension

NameDescription
System_CAPS_pubmethodResolveComReference()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the ResolveComReference class.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

NameDescription
System_CAPS_pubpropertyBuildEngine

Gets or sets the build engine interface that is available to tasks.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from AppDomainIsolatedTask.)

System_CAPS_pubpropertyDelaySign

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether the ResolveComReference task places the public key in the assembly (true) or fully signs the assembly (false).

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyEnvironmentVariables

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets an array of name-value pairs of environment variables that should be passed to the spawned tlbimp.exe and aximp.exe in addition to (or selectively overriding) the regular environment block.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyExecuteAsTool

This API supports the product infrastructure and is not intended to be used directly from your code. Property to allow multitargeting of ResolveComReferences: If true, tlbimp.exe and aximp.exe from the appropriate target framework will be run out-of-proc to generate the necessary wrapper assemblies.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyHostObject

Gets or sets a host object instance that is associated with the derived Task.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from AppDomainIsolatedTask.)

System_CAPS_pubpropertyIncludeVersionInInteropName

This API supports the product infrastructure and is not intended to be used directly from your code. When set to true, the typelib version will be included in the wrapper name. Default is false.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyKeyContainer

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a container that holds a key pair.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyKeyFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets an item that contains a key pair.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyLog

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an instance of a TaskLoggingHelperExtension class containing task logging methods.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from AppDomainIsolatedTaskExtension.)

System_CAPS_pubpropertyNoClassMembers

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether to pass the TypeLibImporterFlags.PreventClassMembers flag to .tlb wrapper generation.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyResolvedAssemblyReferences

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the resolved assembly references.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyResolvedFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the fully qualified files on disk that correspond to the physical locations of the type libraries that were provided as input to this task.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyResolvedModules

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the paths to the modules that were found.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertySdkToolsPath

This API supports the product infrastructure and is not intended to be used directly from your code. If ExecuteAsTool is true, this must be set to the SDK tools path for the framework version being targeted.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertySilent

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a flag specifying whether messages or warnings are logged. Default is false, messages and warnings are logged.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyStateFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the cache file for COM component timestamps.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyTargetFrameworkVersion

This API supports the product infrastructure and is not intended to be used directly from your code. The project target framework version. Default is empty. which means there will be no filtering for the reference based on their target framework.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyTargetProcessorArchitecture

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the preferred target processor architecture, which is passed to the tlbimp.exe /machine flag after translation, for example x86, ia64, amd64 or msil.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyTypeLibFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the type library file path to COM references.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyTypeLibNames

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the type library names to resolve.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyWrapperOutputDirectory

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the location on disk where the generated interop assembly is placed.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

NameDescription
System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

This API supports the product infrastructure and is not intended to be used directly from your code. Executes the ResolveComReference task.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Overrides AppDomainIsolatedTask.Execute().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

When overridden in a derived class, gives tasks infinite lease time.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from AppDomainIsolatedTask.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

On a 64-bit machine, Framework64/<version>/msbuild cannot resolve COM objects registered as 32-bit components. For example, if you register a COM object with regsvr32 and then try to build a project targeting the x86 platform with Framework64/<version>/msbuild, the build is unable to resolve the COM object. If instead you build with Framework/<version>/msbuild, the build is able to resolve the COM object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft