Asp.net发布错误。 [英] Asp.net publish error.

查看:81
本文介绍了Asp.net发布错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asp.net应用程序在尝试发布时显示此错误正常运行

将文件obj\Release\Package\PackageTmp \Default.aspx复制到obj \Debug \AspnetCompileMerge \ Source\obj\Release\Package\PackageTmp \Default.aspx失败。找不到文件'obj\Release\Package\PackageTmp \Default.aspx'。



i从外面复制一个表格,它只是设计没有其他。尝试删除bin文件夹,重建。有人面对这个问题吗?帮我解决这个问题。

asp.net application run properly while trying to publish its showing this error
Copying file obj\Release\Package\PackageTmp\Default.aspx to obj\Debug\AspnetCompileMerge\Source\obj\Release\Package\PackageTmp\Default.aspx failed. Could not find file 'obj\Release\Package\PackageTmp\Default.aspx'.

i copied one form from out side, it is only design nothing else. try to delete bin folder,rebuild. Anyone face this issue? Help me to solve this problem.

推荐答案

你必须为你的应用程序使用subversion,



什么您需要做的是,只需从您的解决方案中删除obj文件夹,再从您的颠覆中获取更新,



清理解决方案,在发布和调试模式下构建,然后尝试重新发布,



这次它应该可以正常工作



只是尝试一下这个。



有时会发生这种情况,因为某些文件在发布期间无法复制。
You must be using subversion for your application ,

what you need to do is , just remove obj folder from your solution , take a update again from your subversions,

clean the solution ,build in both release and debug mode , and then try to republish ,

this time it should work hopefully

just give a try for this.

This happens sometimes , as some file gets failed to copy during publish.


这篇关于Asp.net发布错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆