zoukankan      html  css  js  c++  java
  • 发现vs2005一个bug!庆祝一下!

    在项目里面,新建一个目录

    Interface

    目录下面新建一个类

    namespace Pixysoft.Framework.Noebe.Comets
    {
        interface ICometNoebeConfiguration
        {
            string Password { get; set; }
            string ServerId { get; set; }
            string Url { get; set; }
            string Username { get; set; }
        }
    }

    然后手动修改这个类名为

    namespace Pixysoft.Framework.Noebe.Comets
    {
        interface ICometNoebeConfigurations
        {
            string Password { get; set; }
            string ServerId { get; set; }
            string Url { get; set; }
            string Username { get; set; }
        }
    }

    然后在其他目录下面建一个类:

    namespace Pixysoft.Framework.Noebe.Comets.Setting
    {
        interface ICometNoebeConfiguration
        {
            string Password { get; set; }
            string ServerId { get; set; }
            string Url { get; set; }
            string Username { get; set; }
        }
    }

    然后把这个类copy到interface目录下,覆盖

    之后,就会报错,说source对同一个元素指定了2次。

  • 相关阅读:
    web安全-接入层注入
    web安全-密码安全
    web安全-传输安全
    Jenkins-安装
    RobotFramework-关键字
    RobotFramework-调用.py文件
    RobotFramework-登录
    SQL-行转列(PIVOT)实例1
    SQL-AdventureWorks样例数据库
    TestDescription文档描述测试过程
  • 原文地址:https://www.cnblogs.com/zc22/p/1602780.html
Copyright © 2011-2022 走看看