您的位置:程序门 -> .net技术 -> c#



如何以编程的方式为web(站点)项目(vs2005)添加引用


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


如何以编程的方式为web(站点)项目(vs2005)添加引用
发表于:2007-03-05 11:45:08 楼主
代码如下:
solution2   solution=(solution2)context.dteinstance.solution;
string   s   =   solution.getprojecttemplat( "tower.web.zip ", "web\\csharp ");
project   projectweb   =   solution.addfromtemplate(s,textwebaim, "towers.web ",false);

返回的projectweb为null
请教一下,如何对这个网站项目添加对其他类库项目的引用?


快速检索

最新资讯
热门点击