I recently had to add a WPF resource dictionary to a project that was previously created as a plain Control Library. I learned that:
- all the WPF stuff (barring WPF User Control) is hidden in Add New Item menus/dialogs,
- no fine-tuning of project types is provided and
- TFS doesn’t make recreating a project an easy task,
so I created a new WPF User Control Library project and compared between the two.
Now, if you need to add WPF capabilities to your Control Library, just follow these simple instructions:
- Open the .csproj file in your favorite text editor (no, VS won’t do )
- Under the first
- If (VS.version >= 2010) add:
- Save changes.
- Reload in VS.
Hey VS team, great obfuscation job!