Publish error: Could not load file or assembly 

2020-03-01 05:25发布

I want to publish a MVC project and I keep getting this error:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.XmlTransform', Version=1.4.0.0, Culture=neutral, PublicKeyToken=... or one of its dependencies. The system cannot find the file specified.

I have searched for and tried some solutions found on SO or MSDN to no avail. I'm really desperate for some suggestions. The project has been published successfully before, but this came out of the blue after trying to republish my updated version.

13条回答
爷的心禁止访问
2楼-- · 2020-03-01 05:47

run VS12 in admin mode helped me after I tried all recommended above

查看更多
登录 后发表回答