-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version conflict on Microsoft.Win32.Registry when multitargeting net8.0 and net48 #3856
Comments
Could you provide a simple repro solution please? |
The dep
Is unharmful, the dep is used by the msbuild task and it's not exposed in the dependencies. So it's a false positive(looks to me that it should not appear at all as private build assets) testfx/src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj Line 15 in 1dbf191
this one
comes from the asp.net runtime so I think that's needed as-is at runtime. For what I see here we use 5.0.0 testfx/Directory.Packages.props Line 77 in 1dbf191
@davidfowl can you confirm that asp.net 2.1 is supported? |
AspNetCore 2.1 Support: I will try to setup a simple reproduction sample. The tests are running fine (I should have mentioned that), but the warning in the build output is a bit annoying (we have not a strict "no warning" policy but try to keep them as reduced as possible). So if there's away to disable explicitly this warning it may be ok for me. |
Reproduction Sample: |
We are waiting for input from MSBuild team |
I'll move on with the release of 3.6.2 without that change as we need to re-org and split the code into 2 dlls. |
I have some multi target libraries, which contains code for .NET 8 and .NET Standard 2.0.
The .NET Standard target is for some .NET Framework 4.8 applications. For that I use some AspNetCore 2.1 packages (which are still supported for this scenario, as I understand). On .NET 8 I use the
FrameworkReference
withMicrosoft.AspNetCore.App
.My test project is targeting
net8.0
andnet48
to cover both platforms.After upgrading
MSTest.TestAdapter
andMSTest.TestFramework
from 3.5.1 to 3.6.0 andMicrosoft.NET.Test.Sdk
from 17.10.0 to 17.11.1 I see some warnings in the output:Do you have any suggestions how to deal with this?
I can't disable
MSB3277
because sometimes there are "important" conflicts I have to know about.The text was updated successfully, but these errors were encountered: