Groups | Blog | Home
all groups > visual studio .net enterprise tools > february 2004 >

visual studio .net enterprise tools : Regschema.cmd /u /ng does not remove assembly from GAC


Tim Reynolds
2/6/2004 7:51:05 AM
Team
The instructions for uninstalling & removing logging.schema are to issue regschema.cmd /u /ng <installation location>\Logging\bin\<build configuration>\Microsoft.ApplicationBlocks.Logging.Schema.dll.
However, allthough the uninstall seems to work fine according to the messages on the console, the removal from the GAC does not work. The /ng does not seem to do anything. In looking at the regschema.cmd in edit mode, I noticed no logic to handle the /ng although it is in the remarks as removing from the gac. I do see logic to handle the /g to install into the GAC.

Is there something wrong with regschema (in logging/utilities)? Is there a new version that removes schema from gac. (Of course I found I could issue gacutil /u Microsoft.ApplicationBlocks.Logging.Schema and that did the trick

Thanks
Tim Reynold
v-garych NO[at]SPAM online.microsoft.com
2/7/2004 3:14:31 AM
Hi Tim,

Thanks for posting in the community.

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.


Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Tim Reynolds
2/9/2004 5:46:07 AM
Tian
Thank you very much for your response. Perhaps you can pass along a suggestion to the logging block folks to include this in their Chapter3 section for building the logging block. This is not found in the documentation

Thank you
timhuang NO[at]SPAM online.microsoft.com
2/9/2004 6:28:00 AM
Hello Tim,

Thanks for your post. As I understand, the problem you are facing is that
Regschema.cmd /u /ng does not remove assembly from GAC. Please correct me
if there is any misunderstanding. I now share the following information
with you:

According to the documentation of regschema.cmd utility as shown below, /ng
is used when we install the schema instead of uninstalling the schema. That
is, it specifies not to put the assembly in the GAC when installing shcema,
and it cannot remove the assembly from GAC.

/ng: do not install the assembly in the gac

To work around the problem, we have to manually remove from GAC with the
Gacutil.exe.

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
timhuang NO[at]SPAM online.microsoft.com
2/10/2004 2:40:26 AM
Hello Tim,

Thanks a lot for your feedback. I will report your suggestion to the
corresponding Team.

Please feel free to let me know if any further I can help!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button