Hello Wonko,
Welcome to Microsoft Newsgroup Support Service! My name is Marco Zhou. It's
my pleasure to work with you on this post.
If what you mean by "WPF" class project is the plain class project (created
from New-Project -Class Project), then I can verify that It seems that
Visual Studio doesn't provide a direct way to add custom control into a
class project, but if you are starting with "WPF Custom Control Library"
project selected from the project dialog, then you could directly add
custom control into it.
So I recommend you to create a new "WPF Custom Control Library" project,
and copy all those project files from the original class project into this
new project.
Another solution is to define custom item template, Scott Guthrie has
illustrated how to add custom item template for web project at the
following link:
http://thedotnet.com/blogs/scott_gut...10/595450.aspx
The same method can be employed to add custom control item template for
class project.
Please let me know if my suggestion is helpful to you. If you have
any other questions or concerns, don't hesitate to tell me.
--------------------------------------------------
Best regards,
Macro Zhou (v-*****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.