WPF on 2.0 framework Machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmetb
    New Member
    • Apr 2008
    • 1

    WPF on 2.0 framework Machine

    Is it possible to run a WPF application on an XP machine with only the 2.0 framework installed? I mean can I copy the WPF assemblies with my exe and and set it to reference the local copies? (can't use the 3.0 framework redistributable exe.)

    I have tried including:

    - PresentationCor e.dll
    - PresentationDes ignCore.dll
    - PresentationDes ignDeveloper.dl l
    - PresentationDes ignFramework.dl l
    - PresentationFra mework.dll
    - WindowBase.dll

    in the exe's directory but it still crashes on a 2.0 machine.

    Am I missing an assembly? Have I included any unncessary ones? Is what I am trying to do even possible?
  • vanc
    Recognized Expert New Member
    • Mar 2007
    • 211

    #2
    Originally posted by nmetb
    Is it possible to run a WPF application on an XP machine with only the 2.0 framework installed? I mean can I copy the WPF assemblies with my exe and and set it to reference the local copies? (can't use the 3.0 framework redistributable exe.)

    I have tried including:

    - PresentationCor e.dll
    - PresentationDes ignCore.dll
    - PresentationDes ignDeveloper.dl l
    - PresentationDes ignFramework.dl l
    - PresentationFra mework.dll
    - WindowBase.dll

    in the exe's directory but it still crashes on a 2.0 machine.

    Am I missing an assembly? Have I included any unncessary ones? Is what I am trying to do even possible?
    I don't think you can run it on .NET 2.0, since it is designed for .NET 3.0 framework and they have different .NET Stack. It doesn't understand what you are trying to run in 2.0 framework. Cheers.

    Comment

    Working...