general question .net7 project targeting .net6 nuget package version #161
-
Hello, I have a dotnet 7 solution that is using the package version 5.0.2. https://www.nuget.org/packages/Amazon.Extensions.Configuration.SystemsManager/5.0.2 The package version 5.0.2 specifically targets .net 6.0 and .net 3.1. I thought it was not possible to target .net packages not in the same version But for some reason, test projects are getting this error below Testhost process for source(s) 'C:\Repos\xxx.microservice\xxx.Person.WebAPI.UnitTests\bin\Debug\net7.0\xxx.Person.WebAPI.UnitTests.dll' exited with error: Error: I see that package version 6.0.0 targets .netstandard2.0 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
@minoseah629 Please refer .NET Standard versions for more details on Thanks, @github-actions proposed-answer |
Beta Was this translation helpful? Give feedback.
-
@minoseah629 You should check if you have
|
Beta Was this translation helpful? Give feedback.
-
being away for a little while, had some resolution internally. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@minoseah629 You should check if you have
packages.config
files, or try cleaning up the solution. It works at my end. The issue is now appears unrelated to this library based on the missing package references in your logs.