【发布时间】:2023-03-03 19:08:01
【问题描述】:
我有一个 WPF 程序,它在 Windows 8.1 和 Windows Server 20008 R2 上的样式完全不同。下图显示了每个操作系统的示例(左侧为 Windows 8,右侧为 Server 2008 R2)。
该程序是使用 .NET Framework 4.5 构建的。我查看了每台机器上安装的框架,它们如下:
Windows 8.1:
- .NET Framework 4 多目标包
- .NET Framework 4.5 多目标包
- .NET Framework 4.5 SDK
- .NET Framework 4.5.1 多目标包
- .NET Framework 4.5.1 多目标包 (ENU)
- .NET Framework 4.5.1 SDK
Windows Server 2008 R2:
- .NET Framework 4 多目标包
- .NET Framework 4.5.1
是什么驱动了应用程序的外观?有没有办法让 Server 2008 R2 上的程序看起来更像 Windows 8.1 上的程序?虽然在 Server 2008 R2 上一切正常,但让它看起来更像 Windows 8.1 映像会很好。
Windows 8.1 Windows Server 2008 R2
【问题讨论】:
-
我认为服务器默认没有安装某些界面增强功能。