ASP.NET发布尝试复制不存在的文件 [英] ASP.NET publish trying to copy a non-existant file
问题描述
我正在尝试在VS2010中发布ASP.NET项目,并且出现以下错误:
I'm trying to publish an ASP.NET project in VS2010, and am getting the following error:
将文件bin \ CKFinder.pdb复制到obj \ Release \ Package \ PackageTmp \ bin \ CKFinder.pdb失败.找不到文件"bin \ CKFinder.pdb".
Copying file bin\CKFinder.pdb to obj\Release\Package\PackageTmp\bin\CKFinder.pdb failed. Could not find file 'bin\CKFinder.pdb'.
我曾经尝试过使用CKFinder(带有CKEditor)的试用版,但是我拒绝了它.我删除了对CKFinder的所有引用,包括文件夹和引用-大概是这样.
I had tried using a trial version of CKFinder (with CKEditor), but I backed it out. I removed all references to CKFinder, including the folders and the references - or so I thought.
我尝试查找此错误,但结果为空.真令人沮丧.
I've tried looking this error up, and have come up empty. This is getting frustrating.
为什么会出现此错误?想法?
Why is this error coming up? Ideas?
先谢谢了..
推荐答案
更新:我进入了项目->打包/发布设置,然后单击排除生成的调试符号".该项目开始发布,没有任何问题.
Update: I went into Project --> Package/Publish Settings, and clicked "Exclude generated debug symbols." The project began publishing with no issue.
更新#2(这可能是更好的答案):我试图以调试而不是发行版的形式发布(是的,我想将调试功能保留在此特定发行版中),然后再次出现该错误.原来,我没有从项目中排除CKfinder.dll.一旦这样做,它就可以毫无问题地运行.
Update #2 (this is probably the better answer): I tried to publish as debug instead of release (yes, I wanted to keep the debug features in this particular release), and the error came up again. It turned out that I did not exclude the CKfinder.dll from the project. Once I did so, it ran with no problem.
这篇关于ASP.NET发布尝试复制不存在的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!