Skip to content

Changes in referenced projects are not seen until restart #2872

Closed

Description

@vasily-kirichenko

1

I think it's a huge bug.

Activity

  1. majocha commented on Apr 18, 2017

    @majocha
    Contributor

    I've noticed it will refresh when you click and focus the editor.
    Still, it's not what one would expect.

    It's bad already that you need to save the changes in one project to get them propagated to other project.

  2. vasily-kirichenko commented on Apr 18, 2017

    @vasily-kirichenko
    ContributorAuthor

    @majocha things are much worse. Restarting VS does not help (!). Rebuild does not help. Only deleting obj and bin folders does. And it is not reproduced on Debug configuration, only on Release (I mean the configuration that the test solution uses, not VFT is build on).

  3. majocha commented on Apr 18, 2017

    @majocha
    Contributor

    New project system desperately needed.

  4. vasily-kirichenko commented on Apr 18, 2017

    @vasily-kirichenko
    ContributorAuthor

    :) I strongly believe someone is working on it right now. Right now.

  5. dsyme commented on Apr 18, 2017

    @dsyme
    Contributor

    @vasily-kirichenko I would have thought the DLL timestamps of the newly compiled DLL were being checked, causing a recheck in the dependent file. I don't think it's a project system bug. This is the incremental builder or something else in the process of rechecking files.

    Any chance you could you make a minimal repro with exact steps?

  6. added this to the milestone on Apr 21, 2017
  7. added
    Impact-High
    on May 10, 2017
  8. dsyme commented on May 11, 2017

    @dsyme
    Contributor

    I believe this is fixed by #3025, at least for the cases I've been looking at. I've manually tested on an EXE project referencing a DLL library project, and changes in the library project such as

    • remove file from library project (correctly makes red squiggly appear automatically in open file of EXE project)
    • add file to library project (correctly makes red squiggly disappear automatically in open file of EXE project)
    • remove reference from library project
    • add reference to library project

    There may be additional cases such as renames and others not covered by that, where we need to listen to RDT

  9. vasily-kirichenko commented on May 11, 2017

    @vasily-kirichenko
    ContributorAuthor

    I've tested it on a small solution, it's fixed in #3025.

  10. dsyme commented on May 16, 2017

    @dsyme
    Contributor

    Fixed by #3025

  11. modified the milestones: , 15.3 on Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugImpact-HighRegression

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions