Bug Report T949144
Visible to All Users

General - An error is thrown when a light-bulb menu is opened in a multi-target project if the caret is placed on an undeclared identifier

created 4 years ago

Hello,

Those are steps to reproduce issue:

  • Create new project - Class Library (.NET Core)
  • edit csproj file by replacing TargetFramework with <TargetFrameworks>net48;netcoreapp3.1</TargetFrameworks>
  • reload project (as it won't let you compile)
  • start typing for example new property with BindingList type, try to open Quick Actions menu (to add using statement) with right click or keyboard shortcut
  • yellow error bar should appear

I've also included my settings if that helps.

What fixes it:

  • It does not happen with CodeRush disabled.
  • Also error won't occur after removing netcoreapp3.1 or net48 from TargetFrameworks in csproj file.

VS 2019 16.8.1

Comments (3)
DevExpress Support Team 4 years ago

    Hello,

    Thank you for pointing out this issue and sharing additional information. It helped us reproduce this behavior.

    It turns out that we already fixed this issue. The fix will be included in the upcoming v20.2.4. We are planning to release it in a few days.

    P.S. Can I mark this thread public so that other customers can see it?

      Hello,

      Okay, I've done it for you.

      DevExpress Support Team 4 years ago

        Thank you for your cooperation.

        Answers approved by DevExpress Support

        created 4 years ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

        Note: Hotfixes may be unavailable for betas/updates set for release within a week.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.