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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment