Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS with no warranties, and confer no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
The following steps can be used to gather a list of all files installed in the Global Assembly Cache (GAC) on your system and then remove files that have been orphaned during the uninstall process for Visual Studio 2005 beta products:
Please note that you will need to change the paths in the steps above if you have your OS installed on a drive other than C. Also, make sure that you include the trailing \ after the "assembly" folder name or else the FSnap tool will not work correctly.
I have found it useful to import the contents of c:\file_list.txt into Excel and then sort alphabetically by column G (which is the file version column). That makes it easier to zero in on files that have suspicious version information.
If you do not have gacutil.exe or you try running it and it fails, then remove the files manually using the following steps:
<update date="12/9/2007"> Provided more specific steps for running fsnap.exe. It has to be run from a cmd prompt and not from the Windows Run dialog or else it will not produce an output file. </update>
my computer doesn't have file_list
Hi Tanya52185 - I'm sorry for the confusion. There are some additional steps you need to use in order to get Fsnap to run correctly. I will update the main text of this blog post, but here are the steps that you need to follow:
1. Click on the Start menu, choose Run, type cmd and click OK
2. Type this command in the cmd prompt and press enter to run it: c:\fsnap.exe /bs c:\windows\assembly\ > c:\file_list.txt
3. Wait for the tool to run and then look at c:\file_list.txt for the results