A few months ago I heard about a new Visual Studio function for compiling the same project into several frameworks (for example, .NET 4 and Silverlight). How it's called?
Portable Library Tools
http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981/
I think you mean Multi Targeting .