Subscribe to RSS Subscribe to Comments

HONgHong,珍惜生命,远离鼠标…

VS2008的模板文件

也就是创建一个新类或接口文件时默认生成的代码模板.VS2005应该也差不多.

路径:C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplatesCache\CSharp\Code\2052\Class.zip

地址太长了所以 做个记号.

例如修改为:

//======================================================================
//
//        Copyright (C) G2AD.COM   
//        All rights reserved
//
//        filename :$safeitemrootname$
//        description : Class for $safeitemrootname$
//
//        created by Henry Lu at  $time$
//        http://www.g2ad.com
//
//======================================================================

using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ == 3.5)using System.Linq;
$endif$using System.Text;

namespace $rootnamespace$
{
 public class $safeitemrootname$
 {
 }
}

No comments yet. Be the first.

Leave a reply

提示:如果你刚刚提交过评论,但是还没有被显示出来,请点击这里刷新一下: 刷新评论

Based on FluidityUpload by AK47 | ITech . Theme Redesigned by Kaushal Sheth Sponsored by Send Flowers