问题描述
有一个Web应用程序,我试图让以通过CUTEFTP Pro来上传发布。
我平时是没有问题这样做。但是这一次,我面对疯狂的错误!其实,我右键单击该解决方案,然后单击选择使用为相应的路径文件系统选项来发布,最后我得到了一个错误:
There is a web app I'm trying to make publish in order to upload it by CuteFtp Pro.I usually being doing this with no problem. But this time, I'm facing crazy error! Actually, as I right-click the solution and click to Publish using File System option choosing an appropriate path for that, finally I got an Error:
错误
Copying file Images\512px-Icon_-_upload_photo_2.svg.png to obj\Debug\Package\PackageTmp\Images\512px-Icon_-_upload_photo_2.svg.png failed.
Could not find file 'Images\512px-Icon_-_upload_photo_2.svg.png'.
0 0 GiftShop
我真的不知道,也没有关于此错误的想法,因为有是的名称的文件 512像素图标_-_ upload_photo_2.svg.png
其实,我从来没有用这个名字通过该项目有一个形象!可能是什么原因?
我真的越来越在与该错误挑战沮丧。
In fact, I never had an image by that name through the project!! What could be the reason?I'm really getting frustrated in challenging with that error.
任何人都可能帮助我在这吗?
Anybody could help me on this please?
感谢你这么多。
推荐答案
每当我们删除该文件夹的内容,但忘了从Visual Studio解决方案中删除这基本上发生。
This basically happens whenever we delete the contents from the folder but forget to remove from Visual studio solutions.
要解决此按照以下步骤进行: -
To Resolve this follow below steps:-
-
转到Visual Studio解决方案资源管理器,具体内容右键点击
Go to visual studio solution explorer and right click on the specific content
排除(黄标文件)的项目。
exclude(yellow marked files) from project.
右键单击并从Visual Studio解决方案资源管理器中删除这些文件。
right click and remove those files from visual studio solution explorer.
希望这将帮助您:)的
Hoping this will help you :)
这篇关于出错发布的ASP.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!