Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Wed May 15, 2024 3:38 pm

So I installed the free version for testing, and now when I go to open the app I wanted to use to test it with (an old .NET 3.5 console app) Visual Studio presents me with compile errors (before I've even done anything like add a reference to Spire.XLS - this is just the old app) saying:

"Reference required to assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' containing the base class 'System.Object'. Add one to your project."

Which is all very well, but I can't even see this DLL listed in the "Add references" dialog. Somehow just installing Spire.XLS has done this...

I kind of need to fix this - this app is still used and updated.

(Yeah yeah, why didn't I take a Windows Restore Point before installing? Just because, that's why.)

[edit] and I see it's also saying, re a reference to Microsoft.Web.Administration.dll that it "Cannot find the file specified" - but te file is right there where it should be!

What tf has this installation done to my system?!

(Windows 11 Pro, Visual Studio versions 2008, 2012 and 2019), .NET versions from 2.0 up to 4.8

[edit 2] - sorted...

First, I uninstalled Spire.XLS. (I kept the bin folder files, as I will still experiment with them)

I managed to add System.Runtime in the "Imported namespaces" list.

To fix the reference to Microsoft.Web.Administration.dll, I closed the app, and manually updated the .vbproj file as per the answer in this StackOverflow post:
stackoverflow.com/questions/27166276/microsoft-web-administration-assembly-error-on-azure

----------

But, for Heaven's sake, what did this installation do?!! Can't you simply provide the DLL's as a download, without installing a whole load of gumpf that somehow messes people's systems up?! Please..?

Philosoft
 
Posts: 2
Joined: Wed May 15, 2024 1:14 pm

Thu May 16, 2024 5:33 am

hmm... lying in bed last night, it occurred to me that I think I may owe you guys an apology. I have a vague memory that there was a Windows Update in the morning before I installed Spire.XLS, and that would be a more likely candidate for the mess I found myself in.

Probably.

A a general point though, I have long wished that simple downloads of the DLLs for products were available, rather than full install packages.

Philosoft
 
Posts: 2
Joined: Wed May 15, 2024 1:14 pm

Thu May 16, 2024 6:19 am

Hi,

Thank you for sharing your experience with us and for your patience in resolving the issue. We understand your frustration, and we apologize for any inconvenience caused by the installation of our product.
May I ask how you installed our Spire.XLS? Did you install it via nuget in VS or did you download it from our website and reference the dll file manually? Our product requires different underlying dependencies to be installed depending on the framework. When installing with nuget, these dependencies are installed automatically. When importing manually, you need to install the appropriate dependencies according to Readme.txt. We apologize for the bad experience this has caused you.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 416
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.XLS