I have an MVC4 Web API project. While running the service project I am getting an error
Could not load file or assembly \'WebGrease, Version=1.5.1.25624,
VS 2017 seems to have the problem of not deploying the web.config, even though the properties for the file are set to 'copy always'. In my project, I have to swap out different web.config files for various deployment scenarios. And the 'webgrease' error will appear if it did not deploy the file.
Just verify that the web.config file gets deployed.