Switch compilation between compact and full .net framework?

.net, c#, compact-framework, visual-studio, visual-studio-2008

Solution

You can use two project-files on the shared sources.

So, you may have one solution file and two project on it at the same directory.

Problem

Does anyone know how to switch a compilation of a library project on visual studio, so I can compile for compact framework and full .Net framework?

Original source