Hi, Kevin....
 
Does <keyfile/> know where to find the dll?  You have a folder specified on the component, and one on the fileset.  Is the value in {build.bin.dir} = C:\Automation\Common\Assemblies?  f not, might you need to code it as <key file ="${build.bin.dir}\ApplicationBlocks.Automation.Common.Messaging.dll" />?
 
Rod
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Kevin Kirkpatrick
Sent: Thursday, March 30, 2006 1:47 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSI: KeyFile not found in Component

I have been struggling with all day long. I’ve looked through the mail archives and couldn’t find a clear answer.

Can anyone please tell me why this is failing?  Thanks in advance.

 

-----------------------------------------------------------------------------------------

makeMSI:

 

      [msi] Building Installer Database '\\s2deploy\devreleases\3.11.0.test.msi'.

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

D:\Build\AutoApp\autoapp.build(493,3):

Unable to build Installer database '\\s2deploy\devreleases\3.11.0.test.msi'.

    KeyFile "ApplicationBlocks.Automation.Common.Messaging.dll" not found in Component "C_AutomationCommon".

 

Code section

 

    <components>

            <component      name="C_AutomationCommon"

                                                directory="c:\Automation\Common\Assemblies"

                                                installassembliestogac="true"

                                                feature="F_Automation"

                                                id=""

                                                attr="2"

                                                keepsubdirs="true"

                                                >

 

                                    <key file ="ApplicationBlocks.Automation.Common.Messaging.dll" />

 

                                    <fileset basedir="{build.bin.dir}">

                                    <include name="ApplicationBlocks.Automation.Common.Messaging.dll" />

                                    <include name="ApplicationBlocks.Automation.Common.Logger.dll" />

                                    <include name="ApplicationBlocks.Automation.Common.Request.dll" />

                                    <include name="ApplicationBlocks.Automation.Common.Item.dll" />

                                    <include name="Microsoft.Practices.EnterpriseLibrary.Logging.dll" />

<include name="Microsoft.Practices.EnterpriseLibrary.Configuration.dll" />

                                    <include name="Microsoft.Practices.EnterpriseLibrary.Common.dll" />

                                    </fileset>

            </component>

    </components>

Reply via email to