From: Ian M. <ianm@ActiveState.com> - 2005-04-23 04:32:13
|
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 |