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

On Publish Web App Project, "Could not find file" error, adds another "bin" folder, "specified multiple times" errors

$
0
0

I am trying to publish a web app project with Visual Studio 2013 Pro. All these errors started popping up today, without changing anything from when I last opened the solution.

In the bin folder, there are numerous Antlr3, Newtonsoft, and other .dlls. The project builds without error, but then I get "Could not find file 'bin\Newtonsoft.Json.xml'." when trying to publish to the web server. It seems like the xml files are getting deleted in there somewhere.

I set properties of the .dlls in the bin folder to "copy to output". Now I get "CSC : warning CS2002: Source file 'obj\Debug\\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs' specified multiple times". What does this mean?

Visual Studio creates a bin folder inside the projects existing bin folder (bin\bin) with all the dlls listed in the project. But in the solution explorer, it doesn't include the new bin subfolder. What is doing on here?

What am I doing wrong?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



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