Background
AxImp (internal nested ToolTask used by ResolveComReference) wraps AxImp.exe to generate ActiveX wrapper assemblies. As a ToolTask, it inherits process-launch semantics that depend on the current working directory and environment.
Migration scope
Known complexity factors
- Inherits
AxTlbBaseTask : ToolTaskExtension — shared base with TlbImp; migration must coordinate
- ToolTask
Execute constructs ProcessStartInfo internally — likely needs override of ExecuteTool/GenerateCommandLineCommands paths to route through TaskEnvironment
- Used as a sub-task by
ResolveComReference; verify call sites pass through TaskEnvironment
- Windows-only / NETFRAMEWORK-only feature
Exit criteria
References
Background
AxImp(internal nested ToolTask used byResolveComReference) wrapsAxImp.exeto generate ActiveX wrapper assemblies. As aToolTask, it inherits process-launch semantics that depend on the current working directory and environment.Migration scope
[MSBuildMultiThreadableTask]toAxImp(and audit sharedAxTlbBaseTaskbase)IMultiThreadableTaskTaskEnvironment.GetAbsolutePath()for: ActiveXControlName/AssemblyFile, OutputAssembly, KeyFile, KeyContainer-derived paths, ToolPathTaskEnvironment.GetEnvironmentVariable()for: any env vars consumed by ToolTask base (review)TaskEnvironment.GetProcessStartInfo()for: AxImp.exe invocation (via ToolTask override)Known complexity factors
AxTlbBaseTask : ToolTaskExtension— shared base with TlbImp; migration must coordinateExecuteconstructsProcessStartInfointernally — likely needs override ofExecuteTool/GenerateCommandLineCommandspaths to route throughTaskEnvironmentResolveComReference; verify call sites pass throughTaskEnvironmentExit criteria
References