title: Excel Interop (Visual Studio C#) - "Embed Interop Type" property
body: <p>After adding the interop.excel reference to my C# winform in Visual Studio, I am no longer able to "Edit and Continue"....<br>error says "<strong><em>Modifying a 'method' which contains a usage of an embedded interop type/member will prevent the debug session from continuing while Edit and Continue is enabled.
  To enable Edit and Continue, try setting "Embed Interop Types" property to "False" for COM references when debugging</em></strong>"<br><br>Unfortunately, when I set the "Embed Interop Types" property to "False", VS gives me errors for the following code:<br><strong><em>ws.Cells[2, 1].Value = xxx;</em></strong><br>
  Error says "<strong><em>'object' does not contain a definition for 'Value' and no extension method 'Value' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)</em></strong>"<br><br>Ive looked all over SO for the answer with no luck...is there someone out there who can help?</p>