Edit and continue feature stopped working in Visual Studio 2010

后端 未结 22 1896
南旧
南旧 2020-12-05 06:43

The Visual Studio Edit and Continue feature stopped on Visual Studio 2010, and I don\'t know what has caused the problem.

I am working on a Windows application progr

22条回答
  •  悲哀的现实
    2020-12-05 07:08

    For who still gets this error even with Visual Studio 2017

    No dynamic/Portable Class Libraries/Nuget packages or dependancy problems. No errors or warning highlighted by Visual Studio.

    After hours spent trying all the solutions posted in this and other threads and webpages, the only solution that worked for me was to check-in, remove the Workspace and Map&Get again.

    To remove the Workspace, Source controlAdvancedWorkspaceRemove.

    I'm using Visual Studio 2017 Community up to date and after a relatively fresh install on a new machine (one week and few work hours).


    Methods I've tested with no success prior to the solution above

    • Made sure Edit & Continue was enabled in Visual Studio options. Untick and tick it back again
    • Deleting bin and obj for all project in solution
    • Clean and Rebuild all, restart VS / reboot in combination to the above
    • Checking compile options and Nuget packages and dll compatibility for the projects, inspired by this
    • Unloading the projects in various combinations to test dependancy problems or other issues (inspired by this)
    • Deleting solution an re-downloading it (without removing the Workspace)
    • Sign False to Embed Interop Types
    • Set <_ResolveReferenceDependencies> to true as explained here
    • Combinations of the above with restart of VS and reboots

    After this, I made a check-in and downloaded the Solution on another machine running the same version of Visual Studio (2017 Community). As I didn't get the Edit&Continue issue there, I went for the Workspace removal.

提交回复
热议问题