Hello mustang,
It seems you want to gac the dll using gacutil command in post build event.
This method works on VS 2005 and Windows XP, but failed on VS 2005 and
Windows Vista. If I misunderstood anything here, please don't hesitate to
correct me.
I suggest you may check the following steps:
1. How did you start VS 2005 on Vista Machine?
You will have to right click on devenv.exe, and then select "Run as
Administrator" on context menu. Otherwise, devenv.exe process doesn't run
as administrator permission.
2. When you open the Visual Studio command prompt it will add that location
to the path. But when using the pre/post build event this is not the case.
Did you specify the path in post build event?
For example:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /i
$(TargetPath)
3. At last, I suspect this is caused by UAC in Vista. I suggest you may
disable UAC and try your post event again.
http://www.vista4beginners.com/How-to-disable-UAC
[How to disable UAC]
Hope this helps. Please try the above method and let me know if this works
on your side. We are glad to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
mustang - 29 Jan 2008 14:32 GMT
I did both 1 and 3 below. Disabling UAC allowed gacutil to succeed, but so
did UAC enabled and running VS as adminstrator. I appreciate the help for
this Vista newbie.

Signature
-mustang
> Hello mustang,
>
[quoted text clipped - 32 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
WenYuan Wang [MSFT] - 30 Jan 2008 07:41 GMT
Hello mustang,
The pleasure is all mine. We are glad to assist you.:)
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.