问题描述
我想发布一个MVC项目,我不断得到这个错误:
I want to publish a MVC project and I keep getting this error:
我已经搜索并尝试在SO或MSDN上找到的一些解决方案无效。我真的很渴望一些建议。
该项目以前已经成功发布,但是在尝试重新发布我的更新版本后,这个项目已经脱离了蓝图。
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.
推荐答案
我终于得到了这个工作。我正在离开我的解决方案,以防其他人有类似的问题。
I finally got this to work. I'm leaving my solution here in case others have a similar issue.
基本上我尝试使用Microsoft ASP.NET和Web Tools 2013.1修复我的VS(我得到了从这里)。但是,它并没有解决我的问题。
解决方法是从位于
Basically I tried repairing my VS using the Microsoft ASP.NET and Web Tools 2013.1 (I got it from here Microsoft Web Tools download page). However, it didn't solve the problem for me.What did solve it was copying the file Microsoft.Web.XmlTransforms.dll from another machine at the location
不知怎的,我从那里丢失了(我从另一台电脑上获得了相同的.NET版本并将其粘贴在那里),现在发布工作正常。
Somehow, mine was missing from there (I got it from another computer with the same .NET version and pasted it there) and now the publish works fine.
这篇关于发布错误:无法加载文件或程序集“Microsoft.Web.XmlTransform”,版本= 1.4.0.0,文化=中立等或其依赖之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!