lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shad Storhaug (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENENET-649) Reference to type 'DirectoryInfo' claims it is defined in 'mscorlib', but it could not be found WindowsRuntimeComponent
Date Wed, 29 Apr 2020 22:28:00 GMT

     [ 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)

Mime
View raw message