情况是这样的,以前有个项目,project1,已经正常运行,
后来,我在project1的基础上改动了一些功能,做了另外一个项目,但编译过后的dll依然名字为project1.dll,现在,两个项目的dll文件相同,内部代码的namespace也一样,能不能在同一台服务器上跑?会不会冲突?我测试好象是没有什么问题.
如果冲突的话?如何才能快速地将project1.dll改成project2.dll呢?

解决方案 »

  1.   

    are they strong-named and in GAC? if they are not, and they belong to different projects, I don't understand why you need to worry about it. Even if they are in GAC, as long as your old/new project binds to different version, I don't see a problem either>>>如果冲突的话?如何才能快速地将project1.dll改成project2.dll呢?what kind of project? if they are webform, you can just revert back to the old version to the bin directory
      

  2.   

    我记着注册该DLL所产生的注册表中的Guid的值是不同的你可以引用GUID啊