gpt4 book ai didi

visual-studio-2013 - VS 2013 SqlBuildTask 04018 错误

转载 作者:行者123 更新时间:2023-12-03 23:47:46 24 4
gpt4 key购买 nike

更新到最近的服务包后,我的数据库项目不再构建。

我收到以下错误:

Error 1 04018: The "SqlBuildTask" task failed unexpectedly. System.MethodAccessException: Attempt by method 'Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(System.String, System.Collections.Generic.Dictionary2<System.String,System.String>)'
to access method
'Microsoft.Data.Tools.Components.Diagnostics.SqlTracer.ShouldTrace(System.Diagnostics.TraceEventType)'
failed. at
Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(String
filePath, Dictionary
2 referenceMetadata) at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.CreateCustomSchemaData(String filePath, Dictionary2 referenceMetadata) at
Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.ProcessReferences(TaskLoggingHelper
providedLogger, SqlTaskHost host, ErrorManager errors) at
Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.LoadImpl(ITaskHost
providedHost, TaskLoggingHelper providedLogger) at
Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.Load(ITaskHost
providedHost, TaskLoggingHelper providedLogger) at
Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteLoadTaskHostStep()
at
Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteStep(Func
1 step) at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext() C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets



我试过重启和修复 VS2013
感谢您的任何想法。

最佳答案

您需要安装最新版本的 SQL Server Data Tools
http://msdn.microsoft.com/en-US/data/hh297027

关于visual-studio-2013 - VS 2013 SqlBuildTask 04018 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25899025/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com