【问题标题】:Does AppHarbor support a SQL Server Database Project?AppHarbor 是否支持 SQL Server 数据库项目?
【发布时间】:2012-02-02 08:18:53
【问题描述】:

有谁知道包含此类项目的解决方案是否可以正确部署?我试过了,但一直收到这个错误:

error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

【问题讨论】:

    标签: sql-server appharbor


    【解决方案1】:

    您应该能够包含本地目标文件,将其包含在您推送到 AppHarbor 的存储库中并引用它。这是一些related discussion for Silverlight projects

    【讨论】:

    • 我这样做了,执行任务时仍然失败:&lt;UsingTask TaskName="SqlBuildTask" AssemblyName="Microsoft.Data.Schema.Tasks.Sql, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&gt;
    • 嗯,Visual Studio 已安装在构建服务器上,因此 dll 应该可用。您可能希望尝试在存储库中包含 dll 并从您推送的目标文件中引用本地 dll。更多资源:social.msdn.microsoft.com/Forums/en/vstsdb/thread/…
    • 使用AssemblyFile="Microsoft.Data.Schema.Tasks.Sql.dll" 和本地副本引用程序集,现在我得到:CREATE ASSEMBLY for assembly 'Microsoft.Data.Schema.Tasks.Sql' failed because the assembly is built for an unsupported version of the Common Language Runtime.
    猜你喜欢
    • 2019-07-30
    • 1970-01-01
    • 2014-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多