Assemblies

TookiTooki

New member
Joined
Aug 14, 2003
Messages
4
Location
Belgium
Hey Guys&Gals,

I have written some classes in C# (language aint important). Filled in the AssemblyInfo.cs, added a key, etc.
Then I compiled it, and found the .dll-file in the release-folder.
The next thing I did was Adding the Assembly to the Global Assembly Cache. Everything worked fine.
When adding a reference in a new program, Im able to call the assembly and work with the included classes.

But now I want to UNINSTALL the assembly from the GAC. I tried using the .net configuration-panel. But he says: can not remove...
Then I use the GACUTIL -tool. This one says: unable to uninstall, assembly is required by one or more apps .
Here comes the part i dont understand: pending references: scheme: <windows_installer> id:<msi> description: <windows installer>

But i didnt use the windows installer!

Any help?:confused:

Thnx
 
I didnt use the GAC for my own assemblys yet - but have you tried to remove your assembly AFTER a reboot? maybe it was still loaded somewhere because you ran a programm that uses it.... if this doesnt helps - sorry no further ideas.... ;-)

Andreas
 
thnx 4 the suggestion, Andreas. but it didnt work...
maybe theres still a program thats using the assembly, but that would be strange.
its still talking about the windows installer...

thnx anyway,
Greetz,

Tooki
 
Hi,

i will solve your problem, first step try:

remove your .exe file of the application using the target.dll
...............................................
then :
gacutil /u target.dll
 
dont forget:
if there is another assembly that use for example target.dll,
you cant remove target.dll from the GAC, til you uninstall first all the othes that inherit it
 
Back
Top