I have a project that builds and publishes correctly before I upgraded to Windows 10. After I upgraded to Windows 10, I can build and test my project, but I cannot publish the MVC project. This gives me the following error, which I do not understand:
Failed to load file or assembly "Microsoft.Web.Deployment, Version = 9.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" or one of its dependencies. The system cannot find the specified file.
I added Microsoft.Web.Deploymentfrom nuget, but still getting the same error.
source
share