VS2005发布、生成网站时如何设置固定的dll文件名

解决方案 »

  1.   

    有专门一个固定DLL名称的补丁
      

  2.   

    reg export HKLM\Software\Policies\Microsoft\Windows\Installer installer.reg
    reg add HKLM\Software\Policies\Microsoft\Windows\Installer /v MaxPatchCacheSize /t REG_DWORD /d 0 /f
    net stop msiserver
    start /wait VS80sp1-KB926601-X86-ENU.exe
    reg delete HKLM\Software\Policies\Microsoft\Windows\Installer /v MaxPatchCacheSize /f
    reg import installer.reg
    net stop msiserver
    del /q installer.reg 2>nul把这存为.bat,放在sp1目录运行,会快一些.20分钟到半个小时比较正常
      

  3.   

    如果你没有打SP1补丁
    参考:
    http://www.cnblogs.com/anson/archive/2006/06/12/424226.html
      

  4.   

    web Deployment或者SP1的webapplication模式。