问题描述
我想在MVC上构建应用程序,它将获得模板文本并生成类似T4的代码,但是我不想依赖VisualStudio,我的意思是我不想在我的服务器上安装VisualStudio.应用程序将运行.当然,我会在服务器上安装Dot.Net Framework,但不会在VisualStudio上安装.
我读到,我需要实现ITextTemplatingEngineHost,但是要做到这一点,我需要参考:
1-Microsoft.VisualStudio.TextTemplating.10.0
2-Microsoft.VisualStudio.TextTemplating.Interfaces.10.0
2个问题:
1-此DLL是否随VisualStudio或Dot.Net Framework一起提供?
2-如果Visual Studio附带了它,是否可以在BIN文件夹中放入2个DLL,实现自定义HOST并将我的应用程序部署到没有安装Visual Studio的服务器上,并且我的应用程序将使用此DLL的所有功能?
谢谢
I want to build application on MVC, that will get template text and generate code like T4, but I don''t want to depend on VisualStudio, I mean I don''t want to install VisualStudio on the server where my application will be running. Of course, I''ll install Dot.Net Framework on the server but NOT VisualStudio.
I read, that I need to implement ITextTemplatingEngineHost, but to do this I need to reference:
1 - Microsoft.VisualStudio.TextTemplating.10.0
2 - Microsoft.VisualStudio.TextTemplating.Interfaces.10.0
2 questions:
1 - Does this DLLs come with VisualStudio or with Dot.Net Framework?
2 - If it comes with VisualStudio, can I put 2 DLLs in BIN folder, implement Custom HOST and deploy my application to the server where NO VisualStudio is installed and my application will use all the functionality of this DLLs?
Thank you
推荐答案
这篇关于ITextTemplatingEngineHost是否取决于VisualStudio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!