Assembly 的 Shadow-Copy 所在的folder
2010-10-12 09:22
218 查看
用VS2010开发,经常会发现最新Build的assembly不起做作用(特别是build的DesignTime的assembly的时候),或者在build的时候告诉你某个Assembly正在被使用。
如果这个Assembly被打上strongname的话,那肯定是它存在Shadow-copy,IDE用了shadow-copy,而没用最新的build。
所以只要把shadow-copy删掉就好了:
Vista以前的OS,例如XP,2003等:
rd /s /q %USERPROFILE%\Local Settings\Application Data\assembly
Vista以后:
rd /s /q %USERPROFILE%\AppData\Local\assembly
如果这个Assembly被打上strongname的话,那肯定是它存在Shadow-copy,IDE用了shadow-copy,而没用最新的build。
所以只要把shadow-copy删掉就好了:
Vista以前的OS,例如XP,2003等:
rd /s /q %USERPROFILE%\Local Settings\Application Data\assembly
Vista以后:
rd /s /q %USERPROFILE%\AppData\Local\assembly
相关文章推荐
- .net动态加载程序集和影子复制(Dynamic Load Assembly and Shadow Copy)
- allegro skill copy silk to assembly and check assem
- IOS 深拷贝和浅拷贝问题 (deep copy and shadow copy)
- Copy all files recursively from one folder to another
- Volume Shadow Copy Service(VSS)如何工作
- 灵活运用VS外部工具:Copy assembly to GAC
- Making MSBuild / Visual Studio to automatically copy all indirect dependencies to "bin" folder
- Copy file or folder path to the clipboard in Mac OS X Lion
- 复制文件/文件夹以及子文件夹下的文件; Copy file/folder including subfolder/files
- 使用item获取item所在的文件夹(folder)
- Copy entire folder in Linux
- 发布站点提示PipelinePreDeployCopyAllFilesToOneFolder
- Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {f5dbcc43-b847-494e-8083-f030501da611}
- 自己做一个微型插件:用Windows 资源管理器打开Eclipse Project中package、folder等所在的文件夹
- 如何在Template Codes 中能够加载所在的Project的Assembly,获取所有Type
- 【iPhone开发】深拷贝和浅拷贝 Deep copy and Shadow copy
- Fix “You’ll need to provide administrator permission to copy to this folder” Error
- Android问题集锦之九:Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.
- Fixing the Volume Shadow Copy service
- notepad++ Open containing folder 添加快捷键(打开文件所在的目录).