如何使用注销登记regasm大会 [英] How to unregister the assembly registered using regasm

查看:689
本文介绍了如何使用注销登记regasm大会的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用regasm如下registred我在开发机的dll之一[ASP aplication]

I registred one of my dll in the development machine using regasm as below[asp aplication]

在CMD提示下,我浏览到
C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V2.0.50727

In cmd prompt ,i navigated to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Regasm /证:xxx.dll

Regasm /tlb "xxx.dll"

现在我取得了DLL一些变化..所以我注销使用下面CMD的DLL

now i made some changes in dll .. so i unregistered the dll using below cmd

regasm / U xxx.dll /tlb:xxx.tlb

regasm /u xxx.dll /tlb:xxx.tlb

在重新注册的改变也不会在这个项目上来相同command.But更新后的dll,所以我怀疑它仍然指向旧dll.I重启德机,IIS没有用。
 因此,

The again registered the updated dll with same command.But the changes are not coming up in the project ,so i doubt its still pointing to the old dll.I restarted teh machine ,iis no use . So

** 1.什么是确保我的旧的DLL被删除,当前是新的。该方法

**1.what are the ways to make sure my old dll is removed and the current one is new.

2.is有任何物理路径手动检查它们**

2.is there any physical path to check them manually**

更新下面的解决方案解决了该问题。

UPDATE The below solution fixed the issue

要注册

SET WorkFolder =''

SET WorkFolder= ''

regasm.exe%WorkFolder%\\ xxx.dll / codeBase的

regasm.exe %WorkFolder%\xxx.dll /Codebase

注销

SET WorkFolder =''

SET WorkFolder= ''

regasm.exe /注销%WorkFolder%\\ xxx.dll

regasm.exe /unregister %WorkFolder%\xxx.dll

推荐答案

尝试

regasm /u "[full path to your DLL in double quotes]"

要重新注册使用

regasm /codebase "[full path to your DLL in double quotes]"

忽略警告。

这篇关于如何使用注销登记regasm大会的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆