<PropertyGroup Condition="$(OS) == 'Windows_NT'"> <Platform>Win32</Platform> </PropertyGroup> The VS2010 Profiler supported both sampling and instrumentation. It could attach to running processes—unusual for the time.
Generate a deployment report:
You could write conditional property groups using intrinsic functions: microsoft visual studio 2010 tools