I was looking for a way to reinstall all DO4.x's DLLs into GAC on a developer machine, but didn't find any script or feature of the development install to accomplish this. I think it would be nice to have such option in the Install.cmd script.

Background: In my case DO's assemblies became part of a SharePoint WSP solution by a mistake. SharePoint uninstalled them from GAC when retracting the solution. Before I spotted this problem I had fixed the WSP build process to exclude DO's assemblies. However, since they already weren't in GAC I ended up with a corrupted installation without any simple way to fix it unless I know which assemblies to reinstall into GAC.

asked Dec 19 '11 at 05:08

Ondrej%20Tucny's gravatar image

Ondrej Tucny


Naturally Clear.cmd would be needed too. ;)

(Dec 19 '11 at 08:01) Malisa Malisa's gravatar image

Do I understand you correctly: you actually need to reinstall old DO4 assemblies to GAC to properly uninstall them?

(Dec 19 '11 at 16:19) Alex Yakunin Alex%20Yakunin's gravatar image

No, I had an inconsistent environment — part of DO assemblies were uninstalled from GAC by a mistake. So, I'd like to see a script to add all assemblies into GAC again as part of the DO installation.

(Jan 06 '12 at 12:47) Ondrej Tucny Ondrej%20Tucny's gravatar image

One Answer:

Launch GAC/GacReinstall.bat file from its installation folder to fix the issue.

answered Jan 11 '12 at 02:06

Alex%20Yakunin's gravatar image

Alex Yakunin

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview


Once you sign in you will be able to subscribe for any updates here



Asked: Dec 19 '11 at 05:08

Seen: 14,942 times

Last updated: Jan 11 '12 at 02:06

powered by OSQA