Edit and continue feature stopped working in Visual Studio 2010

后端 未结 22 1904
南旧
南旧 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:03

    What worked for me was similar but not exactly like the accepted answer. I had an anonymous type created as a result of a LINQ query; i.e.

    var thingy = (from thing in things select new { thing.Property1, thing.Property2 }).First();
    

    When I changed the anonymous type to a tuple, the problem went away:

    var (thing1, thing2) = (from thing in things select (thing.Property1, thing.Property2)).First();
    

提交回复
热议问题