One of our projects is failing to build when registering the assembly. when run with the error code option we get the following:
Managed Exception: Exception has been thrown by the target of an invocation.
Operation Failed
00938700
In our xml project file we have:
<Target Name="BeforeClean">
<Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" Command="esriRegasm.exe "$(TargetPath)" /v 9.4 /p Desktop /u /s /e" Condition="Exists('$(TargetPath)')" />
</Target>
<Target Name="AfterBuild">
<Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" Command="esriRegasm.exe "$(TargetPath)" /v 9.4 /p Desktop /s /e" />
</Target>