When upgrading to Aspose.Word 3.4.0 error occurs when building WebApplication


#1

After upgrading to Aspose.Word 3.4.0 I receive the following error when building my Web Application, and if I reverse back to 3.3 the problem goes away.

Cannot declare a namespace of type both named '[]' c:\AppSoft\Visual Studio Projects\FileTrax\bin\Neodynamic.WebControls.BarcodeProfessional.dll

Cannot declare a namespace of type both named '[]' c:\Program Files\Neodynamic\Barcode Professional ...WebControls.BarcodeProfessional.Design.dll

Thank you.


#2

Hi,

Could you please post the lines of code this error corresponds to?


#3

It doesnot point to any lines of code. I think it is because I have the NeoDynamic Reference added to my Web Application.

This is the product I am using http://www.neodynamic.com/ND/ProductsPage.aspx?tabid=8&prod=barcode


#4

There are many products on a web page you have provided. To be able to reproduce the error and fix it we need to have a project that causes the error with the attached 3rd party library you are using. I am afraid that otherwise it is really hard to make any assumptions on the cause of the error.


#5

Does the below help. I have to uninstall the NeoDynamic from my machine in order to compile my application when upgrading to Aspose Pdf or Word.

C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\crystaldecisions.shared\10.0.3300.0__692fbea5521e1304\crystaldecisions.shared.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\180344cd\00277c05_b1f3c401\anrcontrols.weather.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\infragistics.webui.shared.v5.3\5.3.20053.50__7dd5c3163f2cd0cb\infragistics.webui.shared.v5.3.dll" /R:"c:\windows\assembly\gac\crystaldecisions.crystalreports.engine\10.0.3300.0__692fbea5521e1304\crystaldecisions.crystalreports.engine.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\crystaldecisions.reportsource\10.0.3300.0__692fbea5521e1304\crystaldecisions.reportsource.dll" /R:"c:\windows\assembly\gac\crystaldecisions.reportappserver.clientdoc\10.0.3300.0__692fbea5521e1304\crystaldecisions.reportappserver.clientdoc.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\95e9b7c3\f0940c97_cf1cc601\aspose.word.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\51015e5a\22029d0d_002dc601\aspose.pdf.kit.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\b100c24b\48d165f0_ff2cc601\aspose.pdf.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\d30be3a3\00ccba97_5745c501\aspose.spell.dll" /R:"c:\windows\assembly\gac\crystaldecisions.web\10.0.3300.0__692fbea5521e1304\crystaldecisions.web.dll" /R:"c:\windows\assembly\gac\crystaldecisions.enterprise.framework\10.0.3300.0__692fbea5521e1304\crystaldecisions.enterprise.framework.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\2fb74e44\fad186ab_982dc601\filetrax.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\2b635482\201481f4_86dac501\aspose.barcode.dll" /R:"c:\windows\assembly\gac\neodynamic.webcontrols.barcodeprofessional\1.0.5000.0__c6b33c3093a0d4cd\neodynamic.webcontrols.barcodeprofessional.dll" /R:"c:\windows\assembly\gac\crystaldecisions.enterprise.infostore\10.0.3300.0__692fbea5521e1304\crystaldecisions.enterprise.infostore.dll" /R:"c:\windows\assembly\gac\infragistics.webui.design.v5.3\5.3.20053.50__7dd5c3163f2cd0cb\infragistics.webui.design.v5.3.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\b20302fd\00b08e52_ccffc301\appsettings.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\filetrax\88621ae7\b06e89ca\assembly\dl2\473217ae\00e66074_3c37c501\eeeksoft.web.popupwin.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\filetrax\88621ae7\b06e89ca\9zqmkwvb.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\filetrax\88621ae7\b06e89ca\9zqmkwvb.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\assembly\GAC\Neodynamic.WebControls.BarcodeProfessional\1.0.5000.0__c6b33c3093a0d4cd\Neodynamic.WebControls.BarcodeProfessional.dll: error CS0010: Cannot declare a namespace and a type both named 'ᜍ'
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\filetrax\88621ae7\b06e89ca\assembly\dl2\b100c24b\48d165f0_ff2cc601\Aspose.Pdf.DLL: (Location of symbol related to previous error)
c:\WINDOWS\assembly\GAC\Neodynamic.WebControls.BarcodeProfessional\1.0.5000.0__c6b33c3093a0d4cd\Neodynamic.WebControls.BarcodeProfessional.dll: error CS0010: Cannot declare a namespace and a type both named '᜕'
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\filetrax\88621ae7\b06e89ca\assembly\dl2\b100c24b\48d165f0_ff2cc601\Aspose.Pdf.DLL: (Location of symbol related to previous error)
c:\WINDOWS\assembly\GAC\Neodynamic.WebControls.BarcodeProfessional\1.0.5000.0__c6b33c3093a0d4cd\Neodynamic.WebControls.BarcodeProfessional.dll: error CS0010: Cannot declare a namespace and a type both named 'ᜏ'
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\filetrax\88621ae7\b06e89ca\assembly\dl2\95e9b7c3\f0940c97_cf1cc601\Aspose.Word.DLL: (Location of symbol related to previous error)


#6

We are researching the issue. The issue involves a certain 3rd party tool, so it could take some time.