Skip to content
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

Don't add duplicate FrameworkReference #1250

Merged
merged 1 commit into from Jul 7, 2020

Conversation

ltrzesniewski
Copy link
Contributor

This PR adds a check to avoid adding a duplicate FrameworkReference item for Microsoft.WindowsDesktop.App, which caused the following warning:

warning NETSDK1086: A FrameworkReference for 'Microsoft.WindowsDesktop.App' was included in the project. This is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs

The item was duplicated as it had different metadata:
image

I'm not sure why that FrameworkReference item is needed (it was introduced in #1007), so there may be a better solution for this.

Fixes #1112

@clairernovotny clairernovotny merged commit c940949 into dotnet:master Jul 7, 2020
@ltrzesniewski ltrzesniewski deleted the fix-1112 branch July 7, 2020 12:55
@ghost
Copy link

ghost commented Aug 19, 2020

Hi, is this issue resolved? I am still getting it in a .NET Core 3.1 WPF application using System.Reactive version 4.4.1.

@ltrzesniewski
Copy link
Contributor Author

@arlvin it's resolved, but not deployed - v4.4.1 does not include this fix.

@ghost
Copy link

ghost commented Aug 20, 2020

@arlvin it's resolved, but not deployed - v4.4.1 does not include this fix.

@ltrzesniewski Thanks for the response. Any idea when it may be deployed?

@ltrzesniewski
Copy link
Contributor Author

I don't know, but I'm interested as well. @clairernovotny do you know when the next release will be?

@girishnuli
Copy link

Is this issue resolved? Same issue as @arlvin - getting the warning in a .Net Core 3.1 WPF app

@ghost
Copy link

ghost commented Oct 7, 2020

@girishnuli I see there's a version 5.0.0-preview.16 from 11 days ago. I'll try that one out and see.

@ghost
Copy link

ghost commented Oct 8, 2020

Ahhh, @girishnuli I'm happy to see that the issue is resolved in the preview package that i mentioned above! I hope the final version will be out soon.

@girishnuli
Copy link

@arlvin Thanks for checking and confirming it is resolved. Looking forward to the final version.

@ghost
Copy link

ghost commented Nov 11, 2020

@girishnuli Version 5 has finally been released and I've updated my project, yey!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NETSDK 1086 warning when referencing 4.3.1 and UseWindowsForms
3 participants