今天搞了一下午终于解决问题了


VS中引用程序集文件的步骤为:

         点击【项目】---------->点击【添加引用(R)】--------------->选择需要的程序集即可



unity中引用 System.Windows.Forms报错unity中引用 System.Windows.Forms报错



如上面这样就添加了引用了


不过我添加引用后报错依然没解决unity报错:The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?


找了好久终于到刚刚才找到


unity中引用 System.Windows.Forms报错


我是按照图片中红线上方的路径找到DLL文件然后放到unity工程中才解决好 觉得有用就点个赞吧


unity中引用 System.Windows.Forms报错



相关文章:

  • 2022-01-05
  • 2022-12-23
  • 2021-09-21
  • 2021-05-14
  • 2021-06-05
  • 2021-08-08
  • 2021-06-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2021-10-24
  • 2021-11-26
  • 2021-07-07
相关资源
相似解决方案