Publish.GacRemove(String) 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从全局程序集缓存中移除程序集。
public:
 virtual void GacRemove(System::String ^ AssemblyPath);public void GacRemove (string AssemblyPath);abstract member GacRemove : string -> unit
override this.GacRemove : string -> unitPublic Sub GacRemove (AssemblyPath As String)参数
- AssemblyPath
- String
程序集的文件系统路径。
实现
例外
              AssemblyPath 为 null。
              AssemblyPath 为空。
              AssemblyPath 未找到。
一个程序集或模块用两个不同的证据加载了两次。
              AssemblyPath 不是有效的程序集。