asp.net - Cannot load file or assembly System.Web.WebPages.Deployment with all pre-exiting VS projects -


i setup new windows 10 workstation , imported iis settings previous windows 10 iis.

everything setup correctly iis, everytime run new project error missing system.web.webpages.deployment :

   not load file or assembly 'system.web.webpages.deployment, version=1.0.0.0 

the fix simple, add following web config.

<runtime> <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">   <dependentassembly>     <assemblyidentity name="system.web.webpages" publickeytoken="31bf3856ad364e35" culture="neutral"/>     <bindingredirect oldversion="0.0.0.0-x.x.x.x" newversion="x.x.x.x"/>   </dependentassembly>         </assemblybinding> 

the problem because i'm having issue i'm forcing checkout on projects , questions other developers of not have issue. i've attempted re-register .net framework did in day, that's part of windows 10 include 4.6.2

this happening on older asp.net webforms written in vs2013 mix of newer mvc apps written in vs 2015.

after hours of searching, i've found nothing on google or stackoverflow address system wide issue assembly.

thanks.

make sure have system.web.webpages.deployment.dll on bin folder.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -