Skip to content

Sample instructions unclear with publish error #23

@seantleonard

Description

@seantleonard

Elaborate in the instructions which specific publishing error should result in updating the dotnet sdk location in the database project extension settings.

Note: you might have to update the extension setting dotnet SDK location to /usr/bin/ to execute the publish step. This setting is called Dotnet SQL Location under Extensions > Database Projects.

On its own, the suggestion in the step-by-step instructions doesn't specify what should trigger us to update the sdk location. here is the error I received.

stdout: /workspaces/vscode-remote-try-sqlserver/TryDbProjects/TryDbProjects.sqlproj : warning : Unable to load the service index for source https://api.nuget.org/v3/index.json.
stdout:
stdout: /workspaces/vscode-remote-try-sqlserver/TryDbProjects/TryDbProjects.sqlproj : error : Unable to find package Microsoft.Build.Sql. No packages exist with this id in source(s): nuget.org
stdout: /workspaces/vscode-remote-try-sqlserver/TryDbProjects/TryDbProjects.sqlproj : error MSB4236: The SDK 'Microsoft.Build.Sql/0.1.3-preview' specified could not be found.
stdout: 1 Warning(s)
stdout: 2 Error(s)
stdout: Time Elapsed 00:08:53.18

also, 8 minutes to build ? what exactly is being built here, it seems to be just deploying a sql script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions