Comments (6)
+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.
+1
from exceldna.
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.
from exceldna.
@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.
Thanks! I can wait a few days 👍
from exceldna.
Related Issues (20)
- XlCall.Excel(XlCall.xlSheetNm, reference) replaces box brackets with round brackets HOT 2
- Risky use of ConcurrentDictionary HOT 3
- Assertion Failed on users machine HOT 8
- Allow use of ExcelReference from outside Excel context
- Question: addin size HOT 21
- ExcelDNA get file name
- -packed.xll not generated HOT 1
- Unable to build project with latest release HOT 1
- Registration [Error] xlfRegister call failed for function or command HOT 3
- Attack surface reduction block triggered in corporate environment HOT 1
- Could not load file or assembly 'System.Reflection.Metadata HOT 1
- Error value on multiple calls to a ThreadSafe async function HOT 7
- FrameworkReference issue with xll (.NET 6) HOT 3
- How much money is needed to make it .net 8 compatible? HOT 1
- How to access Microsoft.Office.Interop.Excel component from IRibbonControl HOT 2
- Use runtimeconfig.json when loading runtime - ASP.NET Core support under .NET 6+
- RunExcelDnaSetDebuggerOptions: open Excel file at launch HOT 2
- native runtime library is not found when packed. HOT 3
- Support packing a .chm help file
- how to use webview2 in CustomTaskPane with ExcelDna project? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exceldna.