WPF not rendering on remote desktop

后端 未结 7 621
灰色年华
灰色年华 2021-01-18 07:18

I\'m having problems with the rendering of a WPF app over a remote desktop connection.

The applications chrome is rendering, but none of the content is coming throu

7条回答
  •  盖世英雄少女心
    2021-01-18 07:53

    WPF should render over RDP; it's smart enough to know when it can render in hardware, and when it can't it reverts to its own GDI+ based software rendering. I would make sure you're running .NET Framework 3.5 SP1 on the remote machine, since there were changes to remoting that might pose issues. (See link below.)

    I've been developing a WPF app for the past 6 months and it works just fine over RDP. (From Vista and Win7 to XP, Vista and Server 2003.) One important caveat, however, is that it renders using the Classic theme. So if you're using controls that don't have a classic theme, they won't render. If you're just dropping a TextBox on a Window, then obviously that's not your problem.

    Check out this question for some links that may be helpful: Are there problems with rendering WPF over Remote Desktop under Windows XP?

提交回复
热议问题