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

Cannot read desktop.ini, url files or git config #167

Open
Scal-Human opened this issue Aug 27, 2023 · 1 comment
Open

Cannot read desktop.ini, url files or git config #167

Scal-Human opened this issue Aug 27, 2023 · 1 comment

Comments

@Scal-Human
Copy link

Hi all,
I wanted to use the library to read desktop.ini and .url files that may contain information that targets Windows Search (metadata on folders and links) which uses guid's as section names but the library fails to read them:
MethodInvocationException: Exception calling ".ctor" with "1" argument(s): "An unrecognized line was encountered in the INI content.
[{64440492-4C8B-11D1-8B70-080036B11A03}]"

I also wanted to use it to read git repository config files but this fails also:
MethodInvocationException: Exception calling ".ctor" with "1" argument(s): "An unrecognized line was encountered in the INI content.
[remote "origin"]"

Have a nice day,
Scal

@JeevanJames
Copy link
Owner

In the current version of the library, section names are restricted to alphanumeric chars, dots, dollar symbols, colons and spaces. We'll be release a new version in a few days with support for more flexible names, including GUID's.

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