dotnet/roslyn

Intellisense: "using statement" suggestions are missing for Extension methods for .NET 4.8 Projects when referenced from .NET 6 Projects

開放

#59,757 建立於 2022年2月24日

 (9 則留言) (0 個反應) (1 位負責人)C# (4,257 個分叉)batch import
Area-AnalyzersBugDeveloper Communityhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work] I found an Intellisense bug that occurs when i reference (OLD) .NET 4.8 Projects from .NET 6 Projects.

Manually importing the Namespace works fine.

image

Works for referenced .NET 6 Projects (GOOD)

image

Doesn't work for referenced .NET 4.8 Projects (BAD)

image

The Example Project to reproduce the issue can be found here: https://github.com/CharlesPublic/BugIntellisense


Original Comments

Feedback Bot on 2/20/2022, 10:20 PM:

Feedback Bot on 2/23/2022, 03:23 PM:


Original Solutions

(no solutions)

貢獻者指南