locked
C# and C++ Edit and Continue Feature RRS feed

  • Question

  • Here's my issue, I want to move away from MFC C++ for my user interface.  I want to look at WPF or WinRT or WinForms as possible user interface tools.  The problem is, my backend will remain C++ libs.  Since I use MFC, I can still use "Edit and Continue" feature and that feature is critical sometimes.

    It appears you cannot mix CLI/C++ with unmanaged C++ with Edit and Continue.  I'm creating new projects and testing things.

    Is there anyway to have a C# front end and still use "Edit and Continue" in C++?  I'm talking about within the same project, so you start it in visual studio and walk down from C# to C++ and then change values in C++ and Apply Code Changes.  I'm starting to think I will have to stick with MFC for this feature :(

    Thanks

    Jeff.

    Monday, October 13, 2014 6:54 PM

Answers

  • Hi Jeff,

    Thank you for posting in MSDN forum.

    >> Is there anyway to have a C# front end and still use "Edit and Continue" in C++? 

    As far as I know, Edit and Continue cannot be used for managed Visual C++ code, and there has some additional limitations. Therefore, I think that there isn’t way to use the Edit and Continue feature for the C++ code.

    About detailed message, please see:

    http://msdn.microsoft.com/en-us/library/esaeyddf.aspx

    In addition, if you want to know more about the Edit and Continue feature, please see: http://msdn.microsoft.com/en-us/library/bcew296c.aspx

    On the other hand, I find a similar thread about the issue, please see:

    http://stackoverflow.com/questions/17517466/visual-studio-2013-preview-native-c-edit-and-continue

    If possible, I suggest you can also try GravityWell’s suggestion to submit this feature request: http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If you submit this suggestion, I hope you could post that link here, I will help you vote it.

    Thanks for your understanding.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


    Tuesday, October 14, 2014 9:49 AM
  • Hi Jeff,

    Edit and Continue is not supported when debugging the mixed native/managed code. So it would have this limitations.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, October 16, 2014 5:53 AM

All replies

  • Hi Jeff,

    Thank you for posting in MSDN forum.

    >> Is there anyway to have a C# front end and still use "Edit and Continue" in C++? 

    As far as I know, Edit and Continue cannot be used for managed Visual C++ code, and there has some additional limitations. Therefore, I think that there isn’t way to use the Edit and Continue feature for the C++ code.

    About detailed message, please see:

    http://msdn.microsoft.com/en-us/library/esaeyddf.aspx

    In addition, if you want to know more about the Edit and Continue feature, please see: http://msdn.microsoft.com/en-us/library/bcew296c.aspx

    On the other hand, I find a similar thread about the issue, please see:

    http://stackoverflow.com/questions/17517466/visual-studio-2013-preview-native-c-edit-and-continue

    If possible, I suggest you can also try GravityWell’s suggestion to submit this feature request: http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If you submit this suggestion, I hope you could post that link here, I will help you vote it.

    Thanks for your understanding.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


    Tuesday, October 14, 2014 9:49 AM
  • Hi Jeff,

    Edit and Continue is not supported when debugging the mixed native/managed code. So it would have this limitations.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, October 16, 2014 5:53 AM