Moving WPF control to class library

I recently made my first WPF control. It’s just a simple control to show media files. After experimenting with it and seeing all was ok I moved the files to the main project where it would reside in a class library project.

It stopped building with the exception: ‘Library project file cannot specify ApplicationDefinition element’.

To anyone with 15 minutes of WPF experience this does not say a lot. Even after searching the web I couldn’t really understand what was going on but this thread did set me on the right track. You need to set the build action of your WPF control to ‘Page’.

wpfusercontrol

Tags:

116 Responses to “Moving WPF control to class library”

  1. NICK says:

    Purchase@Discount.Acomplia” rel=”nofollow”>.

    Buynow tqa…

  2. NEIL says:

    Purchase@Discount.Acomplia” rel=”nofollow”>.

    Buydrugs without prescription tdg…

  3. LOUIS says:

    Order@Actonel.Online” rel=”nofollow”>…

    Buynow fjl…

  4. AARON says:

    Purchase@Advair.Without.Prescription” rel=”nofollow”>..

    Buyno prescription jwi…

  5. JOEL says:

    Buy@Discount.Aggrenox” rel=”nofollow”>..

    Buyno prescription wkp…

  6. NICK says:

    Order@Discount.Aggrenox” rel=”nofollow”>..

    Buyno prescription lka…

  7. VINCENT says:

    Buy@Discount.Aldactone” rel=”nofollow”>.

    Buydrugs without prescription xab…

  8. ENRIQUE says:

    coral@calcium.vitamin.explanation” rel=”nofollow”>.

    Buywithout prescription…

  9. EARL says:

    calcium@coral.buy” rel=”nofollow”>.

    Buydrugs without prescription…

  10. JOSE says:

    aleve@cold.tablets” rel=”nofollow”>…

    Buygeneric pills…

  11. ALFRED says:

    aloe@ferox.gel.buy” rel=”nofollow”>.

    Buynow it…

  12. RICK says:

    abilify@does.it.work” rel=”nofollow”>…

    Buygeneric meds…

  13. MAURICE says:

    intravenous fluid heart rate

    Buy_drugs without prescription…

  14. TYLER says:

    stage 3 ovarian cancer

    Buy_drugs without prescription…

  15. DUSTIN says:

    my rehab nursing clinical reflection

    Buy_drugs without prescription…

  16. PEDRO says:

    ept pregnancy test

    Buy_generic meds…

  17. JERRY says:

    protonix vs aciphex

    Buy_generic drugs…

  18. ISAAC says:

    ultimate diet pills

    Buy_generic pills…

  19. BRADLEY says:

    insulin receptor inhibition

    Buy_without prescription…

  20. ERIC says:

    viagra prostate removal

    Buy_generic drugs…

  21. RICARDO says:

    sample tlc diets

    Buy_generic drugs…

  22. DUSTIN says:

    birth control pill and lowered libido

    Buy_drugs without prescription…

  23. CHRIS says:

    exmoor pet care

    Buy_generic drugs…

  24. BRADLEY says:

    kids weight gain

    Buy_generic drugs…

  25. FREDDIE says:

    diets and blood type

    Buy_drugs without prescription…

Leave a Reply