Friday, June 29, 2012

Toolbox Installer Package causing slow loading of XAML files in Visual Studio

Have you even been stuck opening a XAML file and had to look at this for minutes before Visual Studio would become responsive?

image

Loading toolbox content from package ‘Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage’

It is very annoying and waste a lot of time and it is very easy to fix.

Open up regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Silverlight for 64 bit systems.

Do this for both v4.0 and v5.0 if you have both versions of Silverlight installed.

Once you select the version open:

AssemblyFoldersEx\Ria Services v1.0 Silverlight Libraries and delete the Toolbox key:

image

Done. No more waiting for the Toolbox Installer Package all day!

Tuesday, January 10, 2012

Remember Password For TFS

Working with SharePoint or other server components often requires you to work on a virtual environment. This has its benefits such as the ability to take snap shots and bring servers up and down as needed, but can be annoying in some areas too. One that I hate is logging into TFS over and over every time I bring a project up or a new instance of visual studio.

image

If only there was a remember password box like Internet Explorer prompts with that included a “remember my credentials” box.

image

Luckily there is a work around to get this same behavior. Simply navigate to your TFS site using Internet Explorer, log in, and check the box to remember your credentials. *See note below

image  image

This will store the credentials in the Windows Vault and use them in Visual Studio each time you connect to TFS.

image

Now open Visual Studio and you will instantly connect with TFS without the need to log in.

*This should only be done on your private development box as this credential is stored in the vault for the user account you are logged into the machine with.