Arnette, Bill wrote:
Nant version: rc2 0.85.1869.0
Perhaps I am trying to do too much with Nant, but what I am trying to do
is use Nant to setup a developers VC++ environment using the same paths
as used for the automated build. My plan is to use the VCPlatform
object in the devstudio object model to set the paths that appear in the
Tools->Options->Projects->VC++ Directories dialog. I know I could just
overwrite vccomponents.dat, but using the API is problably the "right"
way.
Here is what I have so far:
<snip>
The error I get is:
Blahblah.cs(16, 49) : error CS0104: 'Project' is ambiguous reference
So I changed the Project in the ScriptMain definition to
Nant.Core.Project but it still didn't help.
I am guessing that there is an unqualified declaration of
Nant.Core.Project elsewhere in the generated .cs file and the compiler
can't decide between Nant.Core.Project and EnvDTE.Project.
thats right. In the constructor for FunctionSet. I've committed a change
to cvs to make that declaration fully qualified.
Is there any way to keep the generated .cs file around for me to debug
this.
sure - running nant -v should dump the generated c# code to the console.
Ian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users