Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any new type of document not supported will cause error. #1

Open
sujith84 opened this issue Dec 5, 2017 · 1 comment
Open

Any new type of document not supported will cause error. #1

sujith84 opened this issue Dec 5, 2017 · 1 comment

Comments

@sujith84
Copy link

sujith84 commented Dec 5, 2017

My .csproj file contained a line of type EmbeddedResource. Since the library does not have support for this type, the enumeration of Contents instantly throws an error "Item not found in Dictionary". This could be solved by adding a class EmbeddedResource but more unsupported types can come up.

RupertAvery added a commit that referenced this issue Dec 5, 2017
@RupertAvery
Copy link
Owner

I have made ItemGroupContent a concrete class, and now if an ItemGroups Contents loads an element that does not have a class, it will be assigned an instance of ItemGroupContent.

CSProjectNode's ElementName is overridden to return the actual element name.

You should be able to access child elements through CsProjectNode methods.

I have also added EmbeddedResource as well.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants