在`一个xml文件的定制tool`属性如何设置为一个T4文件? [英] How can set the `custom tool` property of an xml file to a T4 file?

查看:197
本文介绍了在`一个xml文件的定制tool`属性如何设置为一个T4文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们知道asp.net .resx文件有一些生成C#code( ResXFile codeGenerator )的自定义工具。

we know that asp.net .resx files have an custom tool for generating some c# code (ResXFileCodeGenerator).

我有一个XML文件,我想那自定义工具属性设置为 T4 文件。

I have an xml file and I want to set the custom tool property of that to a T4 file.

如何T4文件绑定到XML文件?

how can i bind T4 file to the xml file?

推荐答案

您可以做到这一点的 T4工具箱的。选择在Solution Explorer中的resx文件,并在属性窗口中设置的自定义工具模板。

You can do that with T4 Toolbox. Select the resx file in Solution Explorer and set the Custom Tool Template in the Properties window.

这篇关于在`一个xml文件的定制tool`属性如何设置为一个T4文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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