Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Could not find file errors when publishing in Visual Studio

$
0
0

I am getting lots of errors when trying to publish my site to Amazon Elasticbeanstalk.

I removes references and uninstall via nuget DotNetOpenAuto and Entity Framework but I still get the following errors:

Commencing deployment for project Test
...building deployment package obj\Debug\Package\Test.zip...
...package build 'CopyPipelineFiles': error in 'C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets' at (2660,5): Copying file bin\DotNetOpenAuth.AspNet.xml to obj\Debug\Package\PackageTmp\bin\DotNetOpenAuth.AspNet.xml failed. Could not find file 'bin\DotNetOpenAuth.AspNet.xml'.
...build of project archive failed, abandoning deployment
Commencing deployment for project Test
...building deployment package obj\Debug\Package\Archive...
...package build 'CopyPipelineFiles': error in 'C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets' at (2660,5): Copying file bin\DotNetOpenAuth.AspNet.xml to obj\Debug\Package\PackageTmp\bin\DotNetOpenAuth.AspNet.xml failed. Could not find file 'bin\DotNetOpenAuth.AspNet.xml'.


I have no idea how to solve this. I tried removing the references, exclude the .xml files (They are missing in the folder), but nothing helps. Can you please help me out, I spent hours trying to solve this without success.

Thanks in advance.


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>