为我的asp.net mvc创建web部署包时,会引发无法复制文件的错误
我正在开发一个asp.net mvc web应用程序,并尝试在visual studio 2012中为我的项目创建一个新的web部署包。但我得到了以下错误:-为我的asp.net mvc创建web部署包时,会引发无法复制文件的错误,asp.net,asp.net-mvc,visual-studio,asp.net-mvc-4,web-deployment,Asp.net,Asp.net Mvc,Visual Studio,Asp.net Mvc 4,Web Deployment,我正在开发一个asp.net mvc web应用程序,并尝试在visual studio 2012中为我的项目创建一个新的web部署包。但我得到了以下错误:- Error 1 Copying file Views\Customer\Index.cshtml to obj\Release\Package\PackageTmp\Views\Customer\Index.cshtml failed. Could not find file 'Views\Customer\Index.cshtm
Error 1 Copying file Views\Customer\Index.cshtml to obj\Release\Package\PackageTmp\Views\Customer\Index.cshtml failed. Could not find file 'Views\Customer\Index.cshtml'. 0 0 Scanning
虽然文件Views\Customer\Index.cshtml
存在,但即使它不存在,为什么要尝试复制它