Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to deploy a Web Part Feature as part of solution. Solution being add to the store and feature being added successfully. Full trust enabled in Web.Config for bin deployment of the .DLL but Web Part not working when page viewed by a non-admin user...

So, decided to deploy to GAC but discovered that gacutil.exe is not included with the OS? The only place I can find it is in the Windows SDK with a huge download size! I know I can choose to download only certain components, but which ones should I select and are there any dependencies? Better yet, is there an easier way to get a copy of the gacutil.exe tool?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

I think you will find that MS has bundeled lots of tools into the Windows SDK as a way of maintaining version and hotfix information for these tools. Back in the Win2k days these tools were all availible individually and it was up to a user to make sure they had the version specific to their installation. E.g. changes in a service pack may require the tools to be updated to function correctly.

Saying that, I am pretty sure you can take these tools away from the SDK (and assume the risk that it may not be the correct version). If you are worried about installing the SDK on your server, try installing it to your computer and just copying the gacutil.exe to your server.

Alternatively, you could aways build a PowerShell script to deploy your DLL to the GAC? This would be a much more stable solution, IMO.

My 2c's

share|improve this answer
    
Thanks for the heads-up :) +1 –  IrishChieftain Apr 29 '10 at 23:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.