Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-649

Reference to type 'DirectoryInfo' claims it is defined in 'mscorlib', but it could not be found WindowsRuntimeComponent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Invalid
    • Lucene.Net 3.0.3
    • None
    • Lucene.Net Core
    • None

    Description

      I am trying to index the content in Windows UWP app and where I am callingĀ 

      var directory = FSDirectory.Open(new System.IO.DirectoryInfo(_indexPath));
      

      And I am getting the following error.

      Reference to type 'DirectoryInfo' claims it is defined in 'mscorlib', but it could not be found WindowsRuntimeComponent	

      Any Idea what's causing this issue?

      Attachments

        Activity

          People

            Unassigned Unassigned
            tilakk Tilak K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: