I keep getting these 11 errors in Visual Studio:
Error 456 Could not copy the file "_bin_deployableAssemblies\de\System.Web.Mvc.resources.dll" because it was not found. ViMuDat
Error 457 Could not copy the file "_bin_deployableAssemblies\de\WebMatrix.WebData.resources.dll" because it was not found. ViMuDat
Error 458 Could not copy the file "_bin_deployableAssemblies\de\WebMatrix.Data.resources.dll" because it was not found. ViMuDat
Error 459 Could not copy the file "_bin_deployableAssemblies\de\System.Web.WebPages.resources.dll" because it was not found. ViMuDat
Error 460 Could not copy the file "_bin_deployableAssemblies\de\System.Web.WebPages.Razor.resources.dll" because it was not found. ViMuDat
Error 461 Could not copy the file "_bin_deployableAssemblies\de\System.Web.WebPages.Deployment.resources.dll" because it was not found. ViMuDat
Error 462 Could not copy the file "_bin_deployableAssemblies\de\System.Web.WebPages.Administration.resources.dll" because it was not found. ViMuDat
Error 463 Could not copy the file "_bin_deployableAssemblies\de\System.Web.Razor.resources.dll" because it was not found. ViMuDat
Error 464 Could not copy the file "_bin_deployableAssemblies\de\System.Web.Helpers.resources.dll" because it was not found. ViMuDat
Error 465 Could not copy the file "_bin_deployableAssemblies\de\NuGet.Core.resources.dll" because it was not found. ViMuDat
Error 466 Could not copy the file "_bin_deployableAssemblies\de\Microsoft.Web.Infrastructure.resources.dll" because it was not found. ViMuDat
I try to build a project that was developed with Visual Studio 2010, but I am using Visual Studio 2012. If I build it twice, it works without errors.
How can I fix that?
I have found Bin Deploying ASP.NET MVC 3 and _bin_deployableAssemblies and MSBuild, but I could not manage to fix those errors. Could somebody please explain step by step what I should do? I am new to C# and Visual Studio.
I think this error is also the problem why I can't Check in the project into a TFS.
I have these assemblies in my bin
folder:
D:\...\bin> ls
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 18.12.2012 23:53 de
-a--- 15.12.2012 21:11 783648 EntityFramework.dll
-a--- 15.12.2012 21:11 834489 EntityFramework.xml
-a--- 18.12.2012 23:53 42496 LumenWorks.Framework.IO.dll
-a--- 18.12.2012 23:53 116224 LumenWorks.Framework.IO.pdb
-a--- 18.03.2010 18:31 53640 System.ComponentModel.DataAnnotati
ons.dll
-a--- 18.03.2010 18:31 1328984 System.Data.dll
-a--- 18.03.2010 18:31 919880 System.dll
-a--- 18.03.2010 18:31 24944 System.Web.Abstractions.dll
-a--- 18.03.2010 18:31 2824528 System.Web.dll
-a--- 05.01.2011 14:45 130408 System.Web.Helpers.dll
-a--- 03.05.2012 08:55 37861 System.Web.Helpers.xml
-a--- 05.01.2011 16:42 445280 System.Web.Mvc.dll
-a--- 03.05.2012 08:51 777665 System.Web.Mvc.xml
-a--- 18.03.2010 18:31 24928 System.Web.Routing.dll
-a--- 05.01.2011 14:45 136552 System.Web.WebPages.dll
-a--- 03.05.2012 08:55 51735 System.Web.WebPages.xml
-a--- 18.03.2010 18:31 941904 System.Xml.dll
-a--- 18.12.2012 23:53 244736 ViMuDat.dll
-a--- 18.12.2012 23:53 321024 ViMuDat.pdb
-a--- 18.12.2012 23:53 125308 ViMuDat.XML
D:\...\bin\de> ls
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 12.01.2011 16:04 15720 System.Web.Helpers.resources.dll
-a--- 12.01.2011 17:24 32096 System.Web.Mvc.resources.dll
-a--- 12.01.2011 16:04 15208 System.Web.WebPages.resources.dll
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
The System. Web. Mvc namespace contains classes and interfaces that support the ASP.NET Model View Controller (MVC) framework for creating Web applications. This namespace includes classes that represent controllers, controller factories, action results, views, partial view, model binders, and much more.
Dll is old library responsible for whole http-protocol working. requests sending and creation. You can not live without in either ASP.NET MVC or ASP.NET Web forms because it contains HttpContext - class which is responsible for client-server communications.
If you are bin deploying MVC 3, there are some assemblies that you have to package up in your deployment. Scott Hanselman has a good write up on what and where as well.
If you have copied the assemblies, make user to add then as 'content' to your Visual Studio project. Then they will be automatically copied into the correct structure in the bin directory when you build.
EDIT: This was the information in the article that helped solve the problem:
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies
and
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies
contained the missing dlls
Those dlls had to be copied manually to _bin_deployableAssemblies
of my project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With