在发布项目时出现以下错误,我只是将我的项目从Visual Studio2008转换为Visual Studio2010

在发布项目时出现以下错误,我只是将我的项目从Visual Studio2008转换为Visual Studio2010

问题描述:

将文件Bin \ Microsoft.Office.Interop.Excel.xml复制到obj \Debug \ Package\PackageTmp \Bin \ Microsoft.Office.Interop.Excel.xml失败。找不到文件'Bin \ MicroSoft.Office.Interop.Excel.xml'。



请帮助..

Copying file Bin\Microsoft.Office.Interop.Excel.xml to obj\Debug\Package\PackageTmp\Bin\Microsoft.Office.Interop.Excel.xml failed. Could not find file 'Bin\Microsoft.Office.Interop.Excel.xml'.

Please Help..

你项目也无法找到上面提到的dll。

只关闭你在项目中使用的任何excel文件。

关闭所有excel文件后构建应用程序而不是发布它。



希望它适合你!



-SG
you project nor able to find the above mentioned dll.
just close any excel file you are using in your project.
After closing all your excel file build the application and than publish that.

Hope it work for you!

-SG