You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Shad Storhaug (Jira)" <ji...@apache.org> on 2020/04/29 22:28:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Shad Storhaug resolved LUCENENET-649.
-------------------------------------
Resolution: Invalid
Lucene.NET 3.0.3 has no support for UWP, and is no longer being maintained. Please upgrade to Lucene.NET 4.8.0 (currently in beta) for UWP support.
https://github.com/apache/lucenenet/blob/master/README.md#lucenenet-480
https://github.com/apache/lucenenet/blob/master/README.md#lucenenet-480-1
> 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)