Are you referring to the forceid attribute? I am not sure what this does. Can I just 
removed it? The ConsumerWeb.DLL is in the bin directory. How do I specify this 
component with and use forceid and not give directory information? Will it just 
"magically" find it? I still get the errors when I specify the component as follows. 
There are no other components.

            <components>

                <!--Primary output for project 'Consumer Web'-->

                <component name="F__ConsumerWeb"
                           id="{CCBACFF4-4C53-4369-8C1B-3BEBD660FBA3}"
                           attr="2"
                           directory="TARGETDIR"
                           feature="ConsumerWebFeature"
                           keepsubdirs="true" >
                    <key file="frmVisaPPC.aspx" />
                    <fileset basedir="${webbuild.dir}/ConsumerWeb">
                        <include name="**" />
                    </fileset>
                    <forceid file="ConsumerWeb.dll" 
id="_6EC7809A64304C05828E25EBAFE22875" attr="512" checkinterop="false" />
                </component>

            </components>

-----Original Message-----
From: James Geurts [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 1:10 PM
To: Burton, Kevin
Cc: [EMAIL PROTECTED]
Subject: Re: [NAntC-Dev] File cannot be a key file?


That probably has to do with keepsubdirs=true.  For each subdirectory, a new
component is created.  I haven't tested forcing the fileid with
keepsubdirs... but you shouldn't have directory information for the name of
the file.  It should just be ConsumerWeb.dll..  Also, out of curiosity, do
you have any other components specified that would contain files from that
directory structure?


Jim


> I am getting:
>
> File 'xxx' cannot be key file for Component: 'yyy'. The file belongs to
> Component: 'zzz'
>
> This error is repeated about 10 times in Orca with the only constant is
> 'zzz' being the same. I specify neither xxx, yyy, or zzz in the build
> file. I just have:
>
>                <component name="F__ConsumerWeb"
>                           id="{CCBACFF4-4C53-4369-8C1B-3BEBD660FBA3}"
>                           attr="2"
>                           directory="TARGETDIR"
>                           feature="ConsumerWebFeature"
>                           keepsubdirs="true" >
>                    <key file="frmVisaPPC.aspx" />
>                    <fileset basedir="${webbuild.dir}/ConsumerWeb">
>                        <include name="**" />
>                    </fileset>
>                    <forceid file="bin/ConsumerWeb.dll"
>                    id="_6EC7809A64304C05828E25EBAFE22875" attr="512"
>                    checkinterop="false" />
>                </component>
>
> The ids xxx, yyy, and zzz are not in the ids above. Now what am I doing
> wrong? This should just be a simple "xcopy" of files.
>
> Thank you.
>
> Kevin
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
> ITManagersJournal Use IT products in your business? Tell us what you
> think of them. Give us Your Opinions, Get Free ThinkGeek Gift
> Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer





-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to