How to change project type to wpf class library in Visual Studio 2012.
Are you looking to change your project from a normal C# class library to a Window Presentation Framework project?
Well, it is not that hard once you learn the trick. It took me a little while to dig up the info, so hopefully this saves you some time.
Open your csproj file in notepad. Look for the ProjectTypeGuids key. If not found, add it.
Here is what it should look like when your done.
Visual Studio 2012 and Visual Studio 2010 use these to identify the project type. The settings above make it a C# WPF app.