On Baltics TechDay 2011 road show last week I was showing a demo of SharePoint CacheCleaner - the tool we use to speed up development. The tool cleans cached control templates and XSLT schemas, and allows to avoid recycling IIS application pool while developing these components in full trust solutions.
To start using the tool:
- Download Visual Studio solution and deploy WSP to your development environment: SPDevTools.zip;
- In Visual Studio create new Deployment Configuration that will not recycle IIS application pool after deployment or retraction, and use this as default configuration for your full trust SharePoint solution;
- Navigate to {SharePointDevSite}/_layouts/DevTools/CacheCleaner.aspx after deployment to clean the cache. You can also do this automatically in post-build events.
The tool uses reflection classes, so of course you should never use this for production deployment (as it is not supported). However, during development it saves me a lot of time. You may also extend the tool to clean some other elements that SharePoint caches the same way.