Hi,
 
I receive the following error when building my application:
                                    .......
                                    Writing resource file...  Done.
                           [resgen] Starting 'C:\Program Files\Microsoft Visual Studio 
.NET 2003\SDK\v1.1\bin\resgen.exe ("D:\Ihc\GeneralUI\Desktop\Mainform.resx" 
"D:\Ihc\GeneralUI\Desktop\Mainform.resources")' in 'D:\Ihc\GeneralUI\Desktop'
                                    error: Invalid ResX input.
                                    error: Specific exception: SerializationException  
Message: Invalid ResX input. ---> SerializationException: Cannot find the assembly 
DevComponents.DotNetBar, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04.
                                    2 error(s).
            BUILD FAILED
                                    ....
 
I'm using a third party component which is installed in the gac and in the bin 
directory of my application. I'm not able to create a build script that works for this 
application :-(
 
I've been browsing through the nant-user list without success and google did not solve 
my problem either ...
 
What am I missing ??
 
Regards,
Marc
 
PS. My build script:
<?xml version="1.0"?>
<project default="compile" name="Build" basedir=".">
  <!-- Pas de groep en de naam aan -->
  <property name="assembly.groep" value="GeneralUI" />
  <property name="assembly.naam" value="Desktop" />
  <!-- build, dus haal laatste versie op en compileer -->
  <target name="build" description="Build">
    <echo 
message="________________________________________________________________________________"
 />
    <echo message="Build ${assembly.groep}\${assembly.naam}" />
    <call target="preBuild" />
    <call target="doBuild" />
    <call target="postBuild" />
  </target>
  <!-- Haal de laatste versie uit de repository -->
 <target name="preBuild" description="Get latest source files">
  <!-- vssget 
   user="${sourcesafe.user}" 
   localpath="${dir.root}\${assembly.groep}\${assembly.naam}" 
   recursive="true" 
   replace="false" 
   writable="false" 
   dbpath="${dir.sourcesafe.ini}" 
   path="$/Development/${assembly.groep}/${assembly.naam}" / -->
 </target>
  <!-- Compileer -->
  <target name="doBuild" description="Build component">
    <delete 
file="${dir.output}${assembly.bedrijf}.${assembly.groep}.${assembly.naam}.exe" 
failonerror="false" />
    <delete 
file="${dir.output}${assembly.bedrijf}.${assembly.groep}.${assembly.naam}.pdb" 
failonerror="false" />
    <license 
        input="licenses.licx"
        output="${assembly.bedrijf}.${assembly.groep}.${assembly.naam}.exe.license"
        
licensetarget="${dir.output}${assembly.bedrijf}.${assembly.groep}.${assembly.naam}">
        <assemblies>
          <includes name="${dir.output}DevComponents.DotNetBar.dll" /> 
          <includes name="${dir.output}C1.Win.C1FlexGrid.dll"/>
          <includes name="${dir.output}C1.Win.C1TrueDBGrid.dll"/>
          <includes name="${dir.output}ActiveReports.dll"/>
        </assemblies>
    </license>
  <vbc 
    rootnamespace="${assembly.groep}" 
    target="winexe" 
    debug="${debug}" 
    output="${dir.output}${assembly.bedrijf}.${assembly.groep}.${assembly.naam}" 
        
imports="Microsoft.VisualBasic,System,System.Collections,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms"
    optionexplicit="true" 
    optionstrict="true"
        optioncompare="binary">
      <sources>
        <includes name="Agent.vb" /> 
        <includes name="AssemblyInfo.vb" /> 
        <includes name="BarDictionary.vb" /> 
        <includes name="DesktopException.vb" /> 
        <includes name="Info.vb" /> 
        <includes name="Login.vb" /> 
        <includes name="Mainform.vb" /> 
        <includes name="SingleInstance.vb" /> 
        <includes name="Win32.vb" /> 
      </sources>
      <resources>
        <includes name="Agent.resx" />
        <includes name="Info.resx" />
        <includes name="Login.resx" />
        <includes name="Mainform.resx" />
        <includes name="Padm.ico" />
        <includes 
name="${dir.output}${assembly.bedrijf}.${assembly.groep}.${assembly.naam}.licenses" />
      </resources>
      <references>
        <includes asis="true" name="System.dll" /> 
        <includes asis="true" name="System.Data.dll" /> 
        <includes asis="true" name="System.Drawing.dll" /> 
        <includes asis="true" name="System.Windows.Forms.dll" /> 
        <includes asis="true" name="System.Xml.dll" /> 
        <includes asis="true" name="${dir.output}ActiveReports.Design.dll" /> 
        <includes asis="true" name="${dir.output}ActiveReports.dll" /> 
        <includes asis="true" name="${dir.output}ActiveReports.Viewer.dll" /> 
        <includes asis="true" name="${dir.output}AxInterop.AgentObjects.dll" /> 
        <includes asis="true" name="${dir.output}C1.Win.C1FlexGrid.dll" /> 
        <includes asis="true" name="${dir.output}DevComponents.DotNetBar.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.General.Database.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.General.ExceptionHandler.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.General.Parameter.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.General.Security.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.General.Utilities.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.GeneralUI.BaseUserControlUI.dll" 
/> 
        <includes asis="true" name="${dir.output}Ihc.GeneralUI.DateControl.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.GeneralUI.ItemBuilder.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.GeneralUI.MaskedTextBox.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.GeneralUI.PadmControls.dll" /> 
        <includes asis="true" name="${dir.output}Ihc.GeneralUI.UIHelper.dll" /> 
        <includes asis="true" name="${dir.output}Interop.AgentObjects.dll" /> 
        <includes asis="true" name="${dir.output}MagicLibrary.dll" /> 
        <includes asis="true" 
name="${dir.output}Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll" /> 
        <includes asis="true" 
name="${dir.output}Microsoft.ApplicationBlocks.ExceptionManagement.dll" /> 
      </references>
      <arg value="/main:GeneralUI.Desktop.Mainform" /> 
    </vbc>
  </target>
  <!-- Doe niets -->
 <target name="postBuild" description="">
 </target>
</project>
 
E-mail disclaimer : This e-mail, and any attachments thereto, is intended only for use 
by the addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient, please note that any 
review, dissemination, disclosure, alteration, printing, copying or transmission of 
this e-mail and/or any file transmitted with it, is strictly prohibited and may be 
unlawful. If you have received this e-mail by mistake, please immediately notify the 
sender and permanently delete the original as well as any copy of any e-mail and any 
printout thereof.
áŠÄ5ë^™¨¥ŠË)¢{(­ç[ÈL.)îÅ;­¢¸š–ÁkyââžìmºÚ+‰©i­ëž×o 
Ú'¥F†Û{­ë"uéíjwBêéÓ‹^rè"zÂÞj¹Þêò¶§úè™û§u©žžÖ²Ú,ÊË^™§fŠx¬¶¶­Š‰á¶Úý§l¢Çgr‰¿iØ×ôjYhr'wë(¥ÉbrCZžÛz»&j)bž
  
b²ÓZžÛz»%ŠËl²‹«qçè®§zØm¶›?þX¬¶Ë(º·~Šàzw­þX¬¶ÏåŠËbú?©íºÇ

Reply via email to