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

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Invalid
    • Affects Version/s: Lucene.Net 3.0.3
    • Fix Version/s: None
    • Component/s: Lucene.Net Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: