Skip to content

ini-parser 2.5.2 FileNotFound Exception #246

Open

Description

@blackholeearth

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;

Activity

  1. blackholeearth commented on Jan 5, 2023

    @blackholeearth
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions