title: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider ..." could not be located
body: <p>I published my website using visual studio publish option to my host.</p>
  
  <p>my host uses asp.net 4.5.1 framework.</p>
  
  <p>it works fine in local but after I published it, it gave this error.</p>
  
  <p><a href="https://i.stack.imgur.com/1wBmz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1wBmz.png" alt="enter image description here"></a></p>
  
  <p>my local visual studio solution folder contains a folder named packages and it contains some files is it related to error?</p>
  
  <p>This is my config file(other lines omitted for the sake of clarity):</p>
  
  <p><a href="https://i.stack.imgur.com/u9vhD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/u9vhD.png" alt="enter image description here"></a></p>
  
  <p>Thank you.</p>