GithubHelp home page GithubHelp logo

spreadsheetlight's Introduction

Compiling the source code? Create your own (Visual Studio?) solution/project and add these references:

    DocumentFormat.OpenXml (from the Open XML SDK)
    System
    System.Data
    System.Drawing
    System.Windows.Forms
    System.XML
    System.Xml.Linq
    WindowsBase

Then drag and drop everything in the source code folder into your project. Compile. Have tea.

You can get the latest release versions of SpreadsheetLight at
http://spreadsheetlight.com/

You can send feedback, bug findings and goodwill at the website above.
Or use this email address if you like:
[email protected]

I actually read emails. :)

SpreadsheetLight uses the MIT License. There's a license.txt somewhere in your download.
Basically you can do whatever you want with the source code and the library,
provided that the author(s) [that's me] isn't/aren't liable for damages.
Read the license for the full thing because this summary doesn't do it justice.

Thanks for using SpreadsheetLight!

With gratitude,
Vincent Tan

-=-=-=-=-=-=-=-=-=-=-

Q) How come it doesn't come with the .sln solution and .csproj project files?

Because SpreadsheetLight is originally a commercial product and I reserve the specific right
to keep the strong name key. And the strong name key is indicated in the project file, which
means I would have give the strong name key too.

Also, I feel those files are extra, in that they detract from you reading the source code.
That's what you want the source code for right?

And the source code files are already arranged in such a manner that you can just drag and drop
them into your own solution/project. If that's difficult, then I'd say reading the source code
and understanding it would be harder.

And also that SpreadsheetLight is designed for the end developer to use. Most of the time, this
developer will just use the DLL and be done with it. He/She doesn't have time to learn the intricacies
of Excel, let alone set up a source code project just to compile the code. There's already a
precompiled DLL there!

And also that I don't assume you're using Visual Studio. Who knows, maybe there'll be Mono support.

spreadsheetlight's People

Contributors

arlm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spreadsheetlight's Issues

Bug with Open XML SDK -> Managed Debugging Assistant 'FatalExecutionEngineError

Hi,
I do not know if there is hidden P-invoke in the Spreadsheet -> so that interface change manage to collapse OpenXml DLL, or if that is invoke inside OpenXml, that is crashing. So I am reporting this bug both in the OpenXml forum and SpreadsheetLight forum. The bug is very simple to reproduce -> problem is SpreadsheetLight Pivot reading with OpenXml version 3.0.0:

Managed Debugging Assistant 'FatalExecutionEngineError'
Název chybujícího modulu: clr.dll, verze: 4.8.9181.0, časové razítko: 0x64b8594f Kód výjimky: 0xc0000005 Posun chyby: 0x0001cca0 ID chybujícího procesu: 0x9b28 Čas spuštění chybující aplikace: 0x01da34a81bac4265 Cesta k chybujícímu modulu: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll

With OpenXml version 2.20.0 there is no issue.

This crash is happening on the SLDocument creation from the stream:

using (Stream inputStream = fsHelper.GetStream()) { Stopwatch sw; using (MemoryStream ms = new MemoryStream()) { inputStream.CopyTo(ms); // load excel, and create a new workbook using (SLDocument sl = new SLDocument(ms))

My project is basic .NET Framework 4.7 DLL with the Spreadsheet reading class. I have upgraded OpenXml based on Nuget recommendation -> and that was a mistake. :)

System.InvalidProgramException when instance new SLDocument on .NET 6

Good morning,
I am trying to use the library in a .Net 6 project, but I am receiving the error:

System.InvalidProgramException: 'Common Language Runtime detected an invalid program.'

when instantiating a new SLDocument:
using (SLDocument sl = new SLDocument(File))
it is not compatible with .Net versions?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.