It is working now.
I had to include the path of TLBIMP.exe (Under programfiles\Microsoft
.NET folder) to the PATH environment variable.
Also there was a error in my build file.

Thanks anyway.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert
Driesen
Sent: Thursday, January 29, 2004 1:58 AM
To: Nitin Agarwal; [EMAIL PROTECTED]
Subject: Re: [Nant-users] How to add COM component reference for
Solution task??


The <solution> task *should* seamlessly handle references to COM
components. If you're seeing different results, I suggest you package up
a zip file containing the minimum set of files necessary to reproduce
this issue and send it to us/me ...

Gert
----- Original Message ----- 
From: "Nitin Agarwal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 12:17 AM
Subject: [Nant-users] 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.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the
breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to