Closed PraveenValavan closed 5 months ago
Please share the full csproj content, not just fragments
Thas is all I have in the csproj file, its just a simple csproj with reference to sql files in a ssdt project. I also couldn't find any documentation related to dockerization, it would be awesome if you could point me to some.
This was a network issue related to a firewall, not the tool itself.
I am trying to build the below .csproj with mcr.microsoft.com/dotnet/sdk:8.0 in a Dockerfile.
However, it's failing with the error in the build step.
Unable to find package MSBuild.Sdk.SqlProj. No packages exist with this id in source(s): nuget.org MSB4276: The default SDK resolver failed to resolve SDK "MSBuild.Sdk.SqlProj" because directory "/usr/share/dotnet/sdk/8.0.101/Sdks/MSBuild.Sdk.SqlProj/Sdk" did not exist. The SDK 'MSBuild.Sdk.SqlProj/2.6.1' specified could not be found
I am not sure if this is intended to work this way. However, I am trying to build a docker image with the dacpac and then would run sqlPackage in this container in a separate Azure devops pipeline to deploy to the databases.
This is my docker file