I’m trying to build a solution that builds just fine
in the VS.NET 2003 IDE but one of the projects fails when using Nant. I’m
using Nant 0.85 RC 1, .NET 1.1, on Windows XP, with the ‘solution’
task. None of the project build options have been changed, they are all
defaults. The errors I get are listed below. I believe this
error has to do with both of those assemblies being obfuscated and thus
containing the namespaces/classes called “A”, etc. However, I’m
not sure why VS doesn’t complain, but the command line compiler does.
Has anyone encountered anything like this? - <message level="Info"> - <![CDATA[ c:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalReports.Engine.dll: error CS0010:
Cannot declare a namespace and a type both named 'A' ]]> </message> - <message level="Info"> - <![CDATA[
c:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5 Solution\Assembly
References\ActiveUp.WebControls.ActiveTree.dll: (Location of symbol related to
previous error) ]]> </message> - <message level="Info"> - <![CDATA[ c:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalReports.Engine.dll: error CS0010:
Cannot declare a namespace and a type both named 'B' ]]> </message> - <message level="Info"> - <![CDATA[
c:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5 Solution\Assembly
References\ActiveUp.WebControls.ActiveTree.dll: (Location of symbol related to
previous error) ]]> </message> - <message level="Info"> - <![CDATA[ c:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalReports.Engine.dll: error CS0010:
Cannot declare a namespace and a type both named 'a' ]]> </message> - <message level="Info"> - <![CDATA[
c:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5 Solution\Assembly
References\ActiveUp.WebControls.ActiveTree.dll: (Location of symbol related to
previous error) ]]> </message> - <message level="Verbose"> - <![CDATA[ Failure! (exit code = 1) ]]> </message> Below is the .build file: <?xml version="1.0"?> <project name="OnTime 2005"
default="build" basedir="."> <description>OnTime
2005 Solution build</description> <target
name="build"> <solution
configuration="Release" solutionfile="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime
v5 Solution\OnTime v5 Solution.sln"> <excludeprojects> <include
name="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5
Solution\OnTimeDB\OnTimeDB.dbp" /> </excludeprojects> <assemblyfolders> <include
name="C:\Program Files\Microsoft.NET\Primary Interop Assemblies"
/> <include
name="C:\Program Files\Common Files\Crystal Decisions\1.1\Managed"
/> <include
name="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5
Solution\Assembly References" /> </assemblyfolders> <webmap> <map
url=""
path="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5
Solution\CustomerPortal\CustomerPortal.csproj" /> <map
url=""
path="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5
Solution\CustomerPortalAdmin\CustomerPortalAdmin.csproj" /> <map
url=""
path="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5
Solution\OnTimeEnterpriseServer\OnTimeEnterpriseServer.csproj" /> <map
url=""
path="C:\Projects\Vault\Axosoft\Projects\OnTime\v5\Source\OnTime v5
Solution\OnTimeWeb\OnTimeWeb.csproj" /> </webmap> </solution> </target> </project> Thanks for any help, Dan Suceava Axosoft |