Google Grupper har inte längre stöd för nya Usenet-inlägg eller -prenumerationer. Historiskt innehåll förblir synligt.
Dismiss

gacutil in post build event: return code 9009

341 visningar
Hoppa till det första olästa meddelandet

David

oläst,
16 juli 2005 13:15:022005-07-16
till
If I call:

gacutil /if <assemblyname.dll>

from the command line, it reports "assembly successfully added to the cache."

But if I put the same line in a post-build event in vs2005 beta2, the post
build event fails and returns error code 9009. I googled and msdn'ed gacutil
9009 and found nothing. Does anyone know what's going on?

Furthermore, if I call:

gacutil /u <sameassemblyname.dll>

from the command line, it reports "no assemblies found. . ." Yet if I look
in Windows\Assembly, the assembly is in there.

Is there a bug in VS2005 gacutil, or could this have something to do with
the fact that the assembly is delay-signed? I added a verification skip entry
with sn -Vr for this assembly.


Taisuke Yamada

oläst,
27 dec. 2005 22:52:592005-12-27
till
Try calling gacutil using complete pathname.

I heard VS ignores PATH environment unless spawned with certain command-line
option, so I guess this is a feature.

0 nya meddelanden