Skip to content

Inline Rename and Find all References fail across projects #3033

Closed
@cartermp

Description

@cartermp

Inline Rename and Find all References fail across projects in cases where you have made incremental updates to the references between projects.

Workaround is to unload/reload your solution.

Repro steps

Provide the steps required to reproduce the problem

  1. Create a Console App and Class Library.

  2. Create anything in the Class Library (class, function, etc.), and use it in the Console app.

  3. In the Class Library, rename a construct that is used in the Console App. Or find all references on it.

Expected behavior

In either case, the action works across projects.

Actual behavior

It fails.

Known workarounds

Unload/reload solution or individual projects after making a change to project references

Related information

VS 15.2 and 15.3. Not fixed with nightlies.

Interestingly enough, Go to Definition and the Go to All features all work perfectly across projects.

Screen captures from @vasily-kirichenko:

Inline Rename:

Find all References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-APIBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions