none
How to Convert a WPF Windows Application to dll RRS feed

Answers

  • Follow these steps:

    1. Create a new WPF Application Project
    2. Add a User Control
    3. Create control
    4. Delete Window1 and App files in Solution Explorer
    5. Project > MyLibrary Properties > Application > Output Type = Class Library
    6. Build solution... .dll file is in the bin/Release folder

    Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you.

    • Proposed as answer by Damon Bu - MSFT Thursday, July 25, 2013 3:18 AM
    • Marked as answer by Nidh2390 Friday, July 26, 2013 8:26 AM
    Thursday, July 18, 2013 9:32 AM

All replies

  • Follow these steps:

    1. Create a new WPF Application Project
    2. Add a User Control
    3. Create control
    4. Delete Window1 and App files in Solution Explorer
    5. Project > MyLibrary Properties > Application > Output Type = Class Library
    6. Build solution... .dll file is in the bin/Release folder

    Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you.

    • Proposed as answer by Damon Bu - MSFT Thursday, July 25, 2013 3:18 AM
    • Marked as answer by Nidh2390 Friday, July 26, 2013 8:26 AM
    Thursday, July 18, 2013 9:32 AM
  • But this is a user control, not a Window. It cannot be called, but only added to an existing window.

    Imagination is more important than knowledge."

    Sunday, January 26, 2014 3:34 PM