Thanks for your prompt reply Tom,
Yes I started going down that route initially, but since BizTalk 2004 does not come with Microsoft.BizTalk.Operations and NAnt tasks DLL references it, I couldn’t get the project to compile successfully. Also if that was the case, don't you think it
may have thrown some other error like assembly not found etc.
By looking at the code I can see it can initialize BtsCatalogExplorer, access its member ReceivePorts successfully indicating it is able to load the assembly; but starts complaining when it gets to the point where it calls the RemoveReceivePort method.
I might be barking up the wrong tree here so just to get it compiled, I have now copied Microsoft.BizTalk.Operations from another machine with BizTalk 2006 on it and now BizTalk.NAnt.Tasks is not able to find the ‘Application’ class in ExplorerOM
and is failing again on compile time which indicates that it was built with the ExplorerOM DLL from BizTalk 2006.
I can’t copy ExplorerOM from BizTalk 2006 as well as it’ll kill the purpose for this exercise - do you suggest I change the code to remove any references to the Application class and see what it does or should we try going some other route?
Thanks again for your time and concerns Tom...