关于vs.net中的自定义项模板 [英] about custom item templates in vs.net
问题描述
好吧,我正在关注这个网站中的一个教程,并且正在开发我自己的模板,现在,问题是,对于部分脚本,我需要检查多个参数,所以很自然我试过这个 - - > $ if $($ a $ == 1 || $ b $ == 1)< ---不起作用!也&&将无法正常工作。我应该怎么解决这个问题?请不要告诉我必须将这些或条件分开并为每一个编写一次代码,因为:a)代码足够大b)参数数量多于一个
现在我的第二个问题是,即使在2012年我也知道vsix不会在GAC上提交向导,我读过我们需要安装一个安装程序来处理安装它,任何人都可以指导我一步一步的教程,使用自定义向导为模板的最终产品制作安装程序吗?
非常感谢
well, i was following one of the tutorials in this site, and was developing my own template, now, the problem is, for part of the script, i need to check more than one parameter, so naturally i tried this ---> $if$($a$==1 || $b$==1) <--- didn't work ! also && won't work. how should i address this? and please don't tell me i have to separate those or conditions and write the code once for each one of them because : a) the code is big enough b) the number of parameters are more than one
now the second question i have, is that as much as i know even in 2012 the vsix won't submit the wizard on GAC , and i had read that we need to make an installer to handle installing it, can anyone direct me toward a good step by step tutorial for making an installer for the final product of the template with custom wizard?
thanks very much
推荐答案
if
(
a
这篇关于关于vs.net中的自定义项模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!