Nick Grattan's Blog

About Microsoft SharePoint, .NET, Natural Language Processing and Machine Learning

SharePoint Designer: Clearing the Web Part Cache

with one comment

When developing web parts (say in Visual Studio 2008) and using these web parts in SharePoint Designer 2007 you may find that your property definitions are not refreshed in SharePoint Designer. For example, if you add a new property in VS 2008 and recompile, the new property may not not displayed in SharePoint Designer.

To remedy this you can clear SharePoint Designers web site cache:

  • Navigate to {my profile}\AppData\Local\Microsoft\WebsiteCache
  • Locate the folder that relates to the web site you’re using (server name + port)
  • Delete the contents of the folder.

You will find a file in this folder called {webpartproject}.Proxy.DLL. If you cannot delete this file because it’s in use just rename it.

Now, when you next run SharePoint Designer you’ll get a refreshed list of web parts.

Advertisements

Written by Nick Grattan

November 3, 2008 at 10:17 am

One Response

Subscribe to comments with RSS.

  1. […] Thanks Nick Grattan. […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: