Comments (4)
Hi @rogergmagnificentamazing ,
Thanks for raising this. PRs for both a .NET version facelift, as well as the PROJECTCOMPATVERSION would be much appreciated. I've had had much chance to use this project myself lately anymore, but of course happy to have a look at PRs addressing this.
Another fix could be to instead of the code relying on the records in a specific order is to loop checking the record type and then calling the appropriate code based on the record type. Could also then skip unknown record types.
That sounds very slightly preferential to me - if you find that difficult to wire up, just ignoring and/ore optionally parsing the new record sound perfectly fine to me as well. Ultimately, it's probably "just" a trade-off between reducing the chance of breaks in the future, vs. increasing the odds of possibly relevant future additions being "silently ignored", so I don't think either way is definitely better here (aside from maybe introducing an option to toggle ignoring vs throwing on unknown sections - but no need to overcomplicate things).
Thanks a lot,
Fabian
from vbprojectparser.
from vbprojectparser.
proposed fixed with pull request: #6
from vbprojectparser.
Fixed with pull request #6
from vbprojectparser.
Related Issues (7)
- where is TestAbnfObject? HOT 1
- Crash if CompressionContainer contains more than one CompressedChunk
- Exception Parsing ProjectStream if it contains more than one entry under [Host Extender Info]
- Parser will crash if VBA contains REFERENCEORIGINAL record
- REFERENCEPROJECT validating version against current Project causes exception
- Feature Request: Be able to open a VBAProject in a Word file 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 vbprojectparser.