I’m working on my book for O’Reilly this month (HLSL and Pixel Shaders for XAML Developers). If you’ve written books or articles yourself you know there is a lot of prep involved in getting your machine into a clean state for screenshots. You don’t want to show a list of client project names to the readers, for example, when taking a screenshot of the Open Projects list in Visual Studio.
Today I am doing screenshots for the Getting Started chapter. One of the examples uses Expression Blend 4. Here is what my current MRU list looks like in Blend.
Nothing incriminating or confidential in that list, but I still want to trim it down to a few apps. I’ll keep Shazzam on the list, as I’m using it for many of the HLSL examples. But the throwaway projects like WfpApplication2 are on their way to the electronic dustbin.
Some applications, like Visual Studio, keep their MRU data in the registry. Expression Blend is a newer application, it keeps the data in a XML config file located in my profile folder.
On my computer the config file is located at:
C:\Users\WaltRitscher\AppData\Roaming\Microsoft\Expression\Blend 4\user.config
When you open the config file in your favorite text editor you see a bunch of <ConfigurationService> elements. In my case, the element I am looking for has a name property = "RecentProjects". It’s on line 99 in this screenshot.
If you look closely you can see a pipe delimited list of file names.
- M:\CodeDemos\WpfApplication2\WpfApplication2.sln|
- E:\Projects\Shazzam\Shazzam.sln|
- E:\Projects\PhoneApps\QuietPlease\QuietPlease.sln|
Edit that list and save the file. Take your usual precaution for backing up the file before changing the content.
Now look at that clean screenshot.
