如何创建可在Web浏览器上运行的自定义项目系统? [英] How to create a custom project system which can be run on a web browser?

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

问题描述





我按照演练程序创建了一个自定义项目系统https://msdn.microsoft.com/en-us/library/vstudio/ cc512961.aspx?F = 255&MSPPError = -2147217396。它就像一个在控制台窗口中运行的控制台应用程序。但我需要在Web浏览器中运行自定义项目,如MVC应用程序。我怎样才能实现它?请帮我。在此先感谢。

解决方案

Mathivanan KP问:

您能分享一下吗?链接?

当然:

https://msdn.microsoft。 com / en-us / library / dd393574.aspx [ ^ ],

https:// msdn。 microsoft.com/en-us/library/dd637714.aspx [ ^ ],

https:// msdn.microsoft.com/en-us/library/ms171469.aspx [ ^ ],

https: // msdn.microsoft.com/en-us/library/0k6kkbsd.aspx [ ^ ]。



我必须说我很容易研究这个文档来创建一个非标准版本(在我的案例,它的目的是建立更大的多解决方案项目,如果它是在一个解决方案中组装的话,它将不方便开发)。我开发了自定义任务,可以从头开始构建为基于MSBuild API的特殊类库。当然,您可以使用MSBuild的增量功能(基于以声明方式表示的时间戳的依赖关系)来保证Task工具在使用之前始终构建。



-SA

Hi,

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.

解决方案

Mathivanan KP asked:

Could you please share any link?

Sure:
https://msdn.microsoft.com/en-us/library/dd393574.aspx[^],
https://msdn.microsoft.com/en-us/library/dd637714.aspx[^],
https://msdn.microsoft.com/en-us/library/ms171469.aspx[^],
https://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

I must say that I pretty easily studied this documentation to create a non-standard build (in my case, it was aimed to build bigger multi-solution project which would be inconvenient for development if it was assembled in one solution). I developed custom tasks which can be built from scratch as special class libraries based on MSBuild API. Naturally, you can use incremental features of MSBuild (dependencies based on time stamps expressed in declarative ways) to guarantee that the Task tools are always built before they are used.

—SA


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

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