我在Visual Studio 2013中有一个数据库项目,过去3周一直运行完美,但今天它突然不能构建,因此我无法发布任何更改。我收到了一个MSBuild错误:
“C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ SSDT \ Microsoft.Data.Tools.Schema.SqlTasks.targets(513,5):错误:MSB4018:‘SqlBuildTask’任务意外失败。 System.MethodAccessException:方法'Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(System.String,System.Collections.Generic.Dictionary`2)'尝试访问方法'Microsoft.Data.Tools.Components.Diagnostics.SqlTracer.ShouldTrace(System.Diagnostics.TraceEventType)'失败。”
有人有什么想法吗?我今天早上所做的就是从源代码控制中心拉取最新更改。我看不出那会如何破坏实际的MSBuild过程,而最后检查的人根本没有任何问题。
“C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ SSDT \ Microsoft.Data.Tools.Schema.SqlTasks.targets(513,5):错误:MSB4018:‘SqlBuildTask’任务意外失败。 System.MethodAccessException:方法'Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(System.String,System.Collections.Generic.Dictionary`2)'尝试访问方法'Microsoft.Data.Tools.Components.Diagnostics.SqlTracer.ShouldTrace(System.Diagnostics.TraceEventType)'失败。”
有人有什么想法吗?我今天早上所做的就是从源代码控制中心拉取最新更改。我看不出那会如何破坏实际的MSBuild过程,而最后检查的人根本没有任何问题。