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] [Closed] (LUCENENET-606) Up .Net Framework from 4.5 to 4.5.1 to support Dependency Requirements?
Date Tue, 13 Aug 2019 06:12:00 GMT

     [ https://issues.apache.org/jira/browse/LUCENENET-606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shad Storhaug closed LUCENENET-606.
-----------------------------------
    Resolution: Won't Fix

I am closing this as a won't fix. It doesn't make sense for us to reduce support for frameworks
unless there is a valid reason for doing so. The top packages on NuGet target {{net45}} in
addition to .NET Standard so that is what we are doing.

It sounds like you are trying to use the .NET Standard 1.6 target with .NET Framework by installing
the package manually. NuGet will always install {{net45}} if you are targeting any higher
version of .NET Framework, which is the correct decision.

I wouldn't recommend anyone use the scaled back .NET Standard 1.6 target if they are not on
a platform that requires it. It doesn't perform as well during testing and there are a few
shortcuts that were taken due to missing APIs. If you are on .NET Framework, then use the
{{net45}} target for maximum compatibility. The {{net45}} target has no dependencies.

It is unclear how you are producing the error message, since the {{net45}} target doesn't
depend on {{Microsoft.Extensions.DependencyModel}}, but if you are seeing that it sounds like
there could be a bug in your NuGet client.

> 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