Background
TlbImp (internal nested ToolTask used by ResolveComReference) wraps TlbImp.exe to import a COM type library into a managed interop assembly. As a ToolTask, its process invocation depends on global process state.
Migration scope
Known complexity factors
- Shares
AxTlbBaseTask : ToolTaskExtension with AxImp — coordinate base-class refactor
- ToolTask process launch must route through
TaskEnvironment.GetProcessStartInfo()
- Driven by
ResolveComReference; that call site must propagate TaskEnvironment
- Windows-only / NETFRAMEWORK-only feature
Exit criteria
References
Background
TlbImp(internal nested ToolTask used byResolveComReference) wrapsTlbImp.exeto import a COM type library into a managed interop assembly. As aToolTask, its process invocation depends on global process state.Migration scope
[MSBuildMultiThreadableTask]toTlbImp(audit sharedAxTlbBaseTaskbase)IMultiThreadableTaskTaskEnvironment.GetAbsolutePath()for: TypeLibName, AssemblyFile/OutputAssembly, KeyFile, KeyContainer-derived paths, ReferenceFiles, ToolPathTaskEnvironment.GetEnvironmentVariable()for: env vars consumed by ToolTask base (review)TaskEnvironment.GetProcessStartInfo()for: TlbImp.exe invocationKnown complexity factors
AxTlbBaseTask : ToolTaskExtensionwith AxImp — coordinate base-class refactorTaskEnvironment.GetProcessStartInfo()ResolveComReference; that call site must propagateTaskEnvironmentExit criteria
References