Giter VIP home page Giter VIP logo

Comments (6)

augustoproiete avatar augustoproiete commented on July 26, 2024

+1

It would be great to have IntelliSense for .dna files within Visual Studio.

I also think once we have the .xsd, there's an opportunity to validate .dna files against the .xsd as part of the build and fail the build or display warnings as appropriate - hint hint another MSBuild task :)

from exceldna.

konne avatar konne commented on July 26, 2024

+1

from exceldna.

jimfoye avatar jimfoye commented on July 26, 2024

I just followed the instructions and downloaded the ExcelDna.DnaLibrary.xsd and added it to my project, and added the xmlns attribute to the DnaLibrary tag. This does result in intellsense, but at runtime the XLL fails to load:

There is an error in XML document (1, 2).
was not expected.
Initialization [Error] No Dna Library found.

Also, the instructions talk about a nuget package for schemas, but that package does not exist.

from exceldna.

govert avatar govert commented on July 26, 2024

from exceldna.

augustoproiete avatar augustoproiete commented on July 26, 2024

@jimfoye That error is expected and has been fixed in the code, but has not yet been released. It will come with Excel-DNA v0.35 expected to ship in a few days.

If you want to use IntelliSense right now, you'll have to copy the .xsd file(s) to the Visual Studio Schema Cache on your machine by following the instructions below:

from exceldna.

jimfoye avatar jimfoye commented on July 26, 2024

Thanks! I can wait a few days 👍

from exceldna.

Related Issues (20)

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.