During development of the multi-targeting feature of the next version of MSBuild, we found it convenient to expose a new method for accessing the registry from project and target files. I hadn't really thought much more about it since we implemented it,