-
Notifications
You must be signed in to change notification settings - Fork 609
Closed
Labels
Priority:0Work that we can't release withoutWork that we can't release withoutarea-infrastructurebreaking-change
Description
I was attempting to upgrade a few dependencies (like Microsoft.Extensions.Logging) to V7.0.0, but this causes a lot of warnings of the form
C:\Users\Patrick\.nuget\packages\microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\netcoreapp2.0\Microsof
t.Extensions.Logging.Abstractions.targets(4,5): error : Microsoft.Extensions.Logging.Abstractions 7.0.0 doesn't support
netcoreapp3.1 and has not been tested with it. Consider upgrading your TargetFramework to net6.0 or later. You may als
o set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warnin
g and attempt to run in this unsupported configuration at your own risk. [C:\projects\iot3\src\devices\Nmea0183\tests\N
mea0183.Tests.csproj::TargetFramework=netcoreapp3.1]
C:\Users\Patrick\.nuget\packages\microsoft.extensions.dependencyinjection\7.0.0\buildTransitive\netcoreapp2.0\Microsoft
.Extensions.DependencyInjection.targets(4,5): error : Microsoft.Extensions.DependencyInjection 7.0.0 doesn't support ne
tcoreapp3.1 and has not been tested with it. Consider upgrading your TargetFramework to net6.0 or later. You may also s
et <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning a
nd attempt to run in this unsupported configuration at your own risk. [C:\projects\iot3\src\devices\Nmea0183\tests\Nmea
0183.Tests.csproj::TargetFramework=netcoreapp3.1]
We can either:
- Suppress the warning
- make the dependency TFM-dependent
- drop netcoreapp 3.1 support completely
Since we would likely keep netstandard2.0 support, I would suggest the third option. I can't think of a reason why one would create a new project with net3.1, and projects still under development should be easy to upgrade.
raffaeler
Metadata
Metadata
Assignees
Labels
Priority:0Work that we can't release withoutWork that we can't release withoutarea-infrastructurebreaking-change