Could not load file or assembly System.Web.WebPages.Deployment

后端 未结 7 1710
[愿得一人]
[愿得一人] 2020-12-18 23:53

Im working developing a system web page and suddenly appears this error:

Could not load file or assembly \'System.Web.WebPages.Deployment, Version=1.0.0.0, C         


        
7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-19 00:03

    Please try the following steps.

    1. Check the Version of System.Web.Webpages in your References. Say Your Version is=X.X.X.X

    2.In Webconfig

    a.Add the assembly first

            
        
      
    

    b.Bind the assembly for runtime

    
    
      
        
        
              
    
    

    3.Make sure you have added correct key

    
        
    
    

    This worked for me. Hope It'll help you too.

提交回复
热议问题