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

ini-parser 2.5.2 FileNotFound Exception #246

Open
blackholeearth opened this issue Jan 5, 2023 · 1 comment
Open

ini-parser 2.5.2 FileNotFound Exception #246

blackholeearth opened this issue Jan 5, 2023 · 1 comment

Comments

@blackholeearth
Copy link

blackholeearth commented Jan 5, 2023

this library is tricky. there is 2 nuget package.

ini-parser
ini-parser-standard

this repo/lib creates FileNotFound Exception
when i run winform, it says ini-parser 2.5.2 not found.

error causing setup:

  • TestSolution1
    • ClassLibrary project1 (net-standart-2)
      nuget_packages:
      • ini-parser-netstandard 2.5.2;
    • WinForm project1 (net-4.7.2)
      • references:
        • ClassLibrary project1
      • nuget_packages:
        • ini-parser-netstandard 2.5.2;

how to fix this:
install both nugets (ini-parser, ini-parser-standard ) in the winform prject:

working setup :

  • TestSolution1
    • ClassLibrary project1 (net-standart-2)
      nuget_packages:
      • ini-parser-netstandard 2.5.2;
    • WinForm project1 (net-4.7.2)
      • references:
        • ClassLibrary project1
      • nuget_packages:
        • ini-parser-netstandard 2.5.2;
        • ini-parser 2.5.2;
@blackholeearth
Copy link
Author

cad you add try finally to iniparser notfoundexpcetion. warn user , something like below:

  you also have to install both nugests. or else you will get this error.
  *   ini-parser-netstandard 2.5.2;
  *   ini-parser 2.5.2;

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

1 participant