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] [Commented] (LUCENENET-606) Up .Net Framework from 4.5 to 4.5.1 to support Dependency Requirements?
Date Sun, 04 Aug 2019 15:01:00 GMT

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

Shad Storhaug commented on LUCENENET-606:
-----------------------------------------

{quote}Error NU1202 Package Microsoft.Extensions.DependencyModel 2.1.0 is not compatible with
net45 (.NETFramework,Version=v4.5). Package Microsoft.Extensions.DependencyModel 2.1.0 supports:
 - net451 (.NETFramework,Version=v4.5.1)
 - netstandard1.3 (.NETStandard,Version=v1.3)
 - netstandard1.6 (.NETStandard,Version=v1.6) Lucene.Net{quote}

The .NET Framework version of Lucene.Net does not depend on Microsoft.Extensions.DependencyModel.
The only target that depends on this library is .NET Standard 1.6. Furthermore, there is only
1 class ([Lucene.Net/Support/AssemblyUtils.cs|https://github.com/apache/lucenenet/blob/50e21e4c8ca416afdfc08950e221075ebc4db394/src/Lucene.Net/Support/AssemblyUtils.cs])
in the whole project that depends on this library and it would make more sense to change that
one class to not depend on Microsoft.Extensions.DependencyModel (if possible) than to drop
support for several .NET Framework targets.

Could you explain further just what issue you are having?

> Up .Net Framework from 4.5 to 4.5.1 to support Dependency Requirements?
> -----------------------------------------------------------------------
>
>                 Key: LUCENENET-606
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-606
>             Project: Lucene.Net
>          Issue Type: Improvement
>          Components: Lucene.Net Core
>    Affects Versions: Lucene.Net 4.8.0
>         Environment: Visual Studio 2019, Windows 10
>            Reporter: Chris Moschini
>            Priority: Minor
>
> Microsoft is gradually retiring support for .Net Framework 4.5, with foundational Nuget
Packages supporting a minimum of 4.5.1. Advancing to this version shouldn't introduce any
breaking changes for users of Lucene.Net, but it would allow Projects using Microsoft's foundational
packages (like the below) stay up to date.
> Here's the error Lucene.Net presents with when trying to update today:
> Error NU1202 Package Microsoft.Extensions.DependencyModel 2.1.0 is not compatible with
net45 (.NETFramework,Version=v4.5). Package Microsoft.Extensions.DependencyModel 2.1.0 supports:
>  - net451 (.NETFramework,Version=v4.5.1)
>  - netstandard1.3 (.NETStandard,Version=v1.3)
>  - netstandard1.6 (.NETStandard,Version=v1.6) Lucene.Net 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message