Compile the asp.net website and some links are not copied to the ASP.NET temp folder.
Scenerio: I have an asp.net site that I compile successfully but keep getting an error in the browser saying it cannot find the referenced DLL in the solution. I checked the directory in the temp location of the ASP.NET file and all of my referenced links are there except for the ones I can't find. I manually added the location he was looking for and the site worked. The dll is referenced in code, so it should be moved to a temporary folder. Does anyone know why this is happening? I checked the properties in the specified DLL and copied local to true, so it should be moved to the output directory.
source to share
When you say "link in code" do you mean it is listed in the link to the project file? Or do you mean that you manually reference / name it in your source code?
Have you tried this in your web.config (or higher in the config chain?)
<hostingEnvironment shadowCopyBinAssemblies="false" />
Where exactly do you expect it to be copied? What is the path of the error message?
source to share