Skip to content

Add support for SSDT inside SDK docker images #732

@xavokill

Description

@xavokill

Describe the Problem

Inside a Docker build process in which some dotnet-framework-docker-sdk base image is used the MSBUILD build task fails due to missing SSDT components.

In this sample Database.sln contains a single database project (*.sqlproj)

RUN msbuild "Database.sln" /p:configuration=release

Throws this error:

The imported project Microsoft.Data.Tools.Schema.SqlTasks.targets was not found

Describe the Solution

During installation of "vs_BuildTools" add DataBuildTools workload to install SSDT components and its recommended items.

--add Microsoft.VisualStudio.Workload.DataBuildTools;includeRecommended

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions