Title: How to add COM component reference for Solution task??

I am using <solution> Task of Nant to build my csproj file.
The project contains a reference to an COM component.
If I do not mention any reference for the COM dll (assuming that it should use the Reference tag specified in csproj file) in my build file, I get the following error:

Project with GUID '{5FAB37C4-A91A-488D-861F-36AA2C39179A}' must be included for the build to work.

How do I include the COM component reference to my build file?

If I use the <tlbimp> task and generate a interop assembly, how do specify the reference to that dll because I can just have <referenceprojects> under the <solution> task ?

Any help is appreciated.

Reply via email to