天天看點

如何在WPF中引用Windows.System.Forms.Integration如何在WPF中引用Windows.System.Forms.Integration

如何在WPF中引用Windows.System.Forms.Integration

.

工作中遇到這個問題“未找到程式集 WindowsFormsIntegration 請驗證沒有缺少程式集引用。右鍵單擊解決方案,選擇添加引用,在.net中将Windows.System.Forms找到,添加即可,卻仍然無法引用Windows.System.Forms.Integration;

解決方法如下:

添加引用:右擊References–>Browse–>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Framework\v3.0\WindowsFormsIntegration.dll

然後就可以了

繼續閱讀