Why can't Windows 7 load the assembly PresentationFramework.Aero2?

后端 未结 2 1708
失恋的感觉
失恋的感觉 2021-02-02 08:50

I recently finished my first WPF application I have been developing using Windows 8. It has worked fine on my machine. A friend of mine ran it in visual studio on his Windows 8

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-02 09:17

    On a developer machine there are two versions of the presentation framework assemblies. Visual Studio references the "metadata only" version. When you deploy the assembly of the C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF folder it should work (see Problem with assembly PresentationFramework.Aero2)

提交回复
热议问题