...命名空间'Microsoft.Office.Interop.Excel'中含糊不清

编程入门 行业动态 更新时间:2024-10-24 01:54:33
本文介绍了...命名空间'Microsoft.Office.Interop.Excel'中含糊不清的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试将带有Framework 2.0的项目转换为Frameowrk 4.0,并且我遇到了那些错误的'...是暧昧的namespace'Microsoft.Office.Interop.Excel''。这是指应用程序,工作簿,工作表。我试图删除引用并重新添加,但问题仍然没有解决。 有谁知道怎么办? 谢谢!

Hi, I am trying to convert a project with Framework 2.0 to Frameowrk 4.0, and I come into those errors of '...is ambiguous in the namespace 'Microsoft.Office.Interop.Excel''. This is referring to Application, Workbook, Worksheet. I tried to delete the reference and re-add, but still the problems are not fixed. Does anyone know how to do about it? Thanks!

推荐答案

尝试删除obj和bin文件夹中的文件。旧版本可能仍然存在。 祝你好运! Try to delete the files in the obj and bin folder. An older version might still persist there. Good luck!

另见 vbcity/forums/t/161172.aspx [ ^ ]。 查看解决方案中所有项目的目标框架。 See also vbcity/forums/t/161172.aspx[^]. Look at the target framework of all of the "projects" in your "solution".

更多推荐

...命名空间'Microsoft.Office.Interop.Excel'中含糊不清

本文发布于:2023-11-26 17:23:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1634496.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不清   空间   Office   Microsoft   Interop

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!