创建一个可在Web浏览器上运行的自定义项目系统 [英] Create a custom project system which can be run on a web browser

查看:101
本文介绍了创建一个可在Web浏览器上运行的自定义项目系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照演练https://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx?f=255&MSPPError=-2147217396创建了一个自定义项目系统.它就像在控制台窗口中运行的控制台应用程序.但是我需要跑步 Web浏览器(如MVC应用程序)中的自定义项目.我该如何实现?请帮我.预先感谢.

I had created a custom project system by following the walkthrough https://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx?f=255&MSPPError=-2147217396. It is like a console application which is running in console window. But my need is to run a custom project in web browser like MVC applications. How can I achieve it? Please help me. Thanks in advance.

推荐答案

您将要查看项目的IVsDebuggableProjectCfg实现.特别是DebugLaunch方法,该方法是在调试器下启动应用程序时调用的方法.

You'll want to review your project's IVsDebuggableProjectCfg implementation. In particular, the DebugLaunch method, which is what is invoked when you launch your application under the debugger.

问题是,我想不起来您需要如何填充VsDebugTargetInfo结构.自从我研究如何完成已经有好几年了,如今的情况可能有所不同.我将看看是否可以挖掘细节,然后回发此线程.

Problem is, I can't recall how you need to populate that VsDebugTargetInfo struct. It's been years since I looked at how that was done, and it's probably done differently nowadays. I'll see if I can dig the details up, and post back on this thread.

此致


这篇关于创建一个可在Web浏览器上运行的自定义项目系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆