zoukankan      html  css  js  c++  java
  • Visual Studio

    转自:http://www.cnblogs.com/easyzikai/archive/2012/10/14/2723328.html

    http://www.cnblogs.com/eagle1986/archive/2012/06/13/2548592.html

    步骤:

    1.VS2010 中找到(安装盘符以C盘为例)C:Program FilesMicrosoft Visual Studio 10.0Common7IDEItemTemplatesCacheCSharpCode2052Class.zip

    2.在Class.cs 文件中添加如下代码。

    /*
    * ==============================================================================
    *
    * Filename: $safeitemname$
    * Description: 
    *
    * Version: 1.0
    * Created: $time$
    * Compiler: Visual Studio 2010
    *
    * Author: Your name
    * Company: Your company name
    *
    * ==============================================================================
    */

    或者这种模式

    /*************************************************************************************
         * CLR版本:       $clrversion$
         * 类 名 称:       $itemname$
         * 机器名称:       $machinename$
         * 命名空间:       $rootnamespace$
         * 文 件 名:       $safeitemname$
         * 创建时间:       $time$
         * 作    者:          xxx
         * 说   明:。。。。。
         * 修改时间:
         * 修 改 人:
    *************************************************************************************/

    3、保存Class.zip

    4、在visual studuo 2010 的命运行下运行 devenv /setup (运行该命令前请关闭VS。这个命令比较耗时,大概要几分钟)

    5、如果提示:未能完成操作。请求的操作需要提升。那么找到 Visual Studio 命令提示(2010) 文件路径,并以“管理员身份运行”,重复步骤4

    6、然后会发现 Visual Studio 命令提示(2010) 好像一直没反应,这个时候不要关闭窗口,耐心等待几分钟就可以了

  • 相关阅读:
    lnmp分离及其迁移数之一---数据库迁移
    lnmp wordpress...
    LNMP安装
    rpm 强制卸载
    ss ifconfig工具
    nginx--日志
    nginx--模块2--基于用户
    python-网络编程
    基本数据之-字典
    Python【day 9】函数入门1
  • 原文地址:https://www.cnblogs.com/tracine0513/p/3829034.html
Copyright © 2011-2022 走看看