Hot swapping code like Java in C#

萝らか妹 提交于 2019-12-06 03:05:31

问题


Is there a way, in visual studio, I could enable code hot swap? In java, using eclipse at least, you can change code at runtime, save it and it will instantaneous change in your application. I know there is the "edit and continue" feature, but I am wondering if there was the same feature for C#.


回答1:


The question is unclear. Are you looking for "edit and continue" in C#? That exists since VS2010 (although only if running in 32 bit mode). Or do you want to make your application swap code at runtime? That works as well, but requires manually coding a plugin engine (or using a third party library).



来源:https://stackoverflow.com/questions/27718015/hot-swapping-code-like-java-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!