Free Support Forum - aspose.com

Adding Aspose.Cells.dll to the GAC in .NET

I can add version 1.0 but not version 2.0 from the version 4.4.1 download.

C:\Program Files\Aspose\Aspose.Cells\Bin\Net2.0>c:\WINDOWS\Microsoft.NET\Framewo
rk\v1.1.4322\gacutil.exe /i Aspose.Cells.dll

Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4318.0
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Failure adding assembly to the cache: Unknown Error

C:\Program Files\Aspose\Aspose.Cells\Bin\Net2.0>cd ..\Net1.0

C:\Program Files\Aspose\Aspose.Cells\Bin\Net1.0>c:\WINDOWS\Microsoft.NET\Framewo
rk\v1.1.4322\gacutil.exe /i Aspose.Cells.dll

Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4318.0
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Assembly successfully added to the cache

You have posted the same question twice.

IMO, you should stay away from the GAC (at least for Windows-based application).

Aspose is really responsive on providing fixes and new versions. If you deploy the assemblies to the GAC, you will have to re-deploy to the GAC (which requires admin rights). I am a big fan of the XCopy deployment and I distribute Aspose's DLLs with my application which really ease updates.

Yes, sorry, once through the online chat being offline. I didn’t know it goes into the forum.