You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Tilak K (Jira)" <ji...@apache.org> on 2020/04/30 04:59:00 UTC

[jira] [Commented] (LUCENENET-649) Reference to type 'DirectoryInfo' claims it is defined in 'mscorlib', but it could not be found WindowsRuntimeComponent

    [ https://issues.apache.org/jira/browse/LUCENENET-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096130#comment-17096130 ] 

Tilak K  commented on LUCENENET-649:
------------------------------------

Let me try that. Thank you for your help. 

> Reference to type 'DirectoryInfo' claims it is defined in 'mscorlib', but it could not be found WindowsRuntimeComponent	
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-649
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-649
>             Project: Lucene.Net
>          Issue Type: Bug
>          Components: Lucene.Net Core
>    Affects Versions: Lucene.Net 3.0.3
>            Reporter: Tilak K 
>            Priority: Blocker
>
> I am trying to index the content in Windows UWP app and where I am calling 
> {code:java}
> var directory = FSDirectory.Open(new System.IO.DirectoryInfo(_indexPath));
> {code}
> And I am getting the following error.
> {code:java}
> Reference to type 'DirectoryInfo' claims it is defined in 'mscorlib', but it could not be found WindowsRuntimeComponent	{code}
> Any Idea what's causing this issue?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)