SQL Server database schema validation, deployment, and upgrade runtime. Enables declarative database development and database portability across SQL Server versions and environments.
I'd like to publish the output dacpac to a folder (along with my other projects) for deployment. Using dotnet publish throws an error:
C:\Program Files\dotnet\sdk\8.0.205\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(164,5): error MSB4036:
The "AllowEmptyTelemetry" task was not found. Check the following: 1.) The name of the task in the project file is the
same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask
interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in
the "C:\Program Files\dotnet\sdk\8.0.205" directory. [D:\test\MyDb\MyDb.sqlproj]
My sqlproj looks like this
I'd like to publish the output
dacpac
to a folder (along with my other projects) for deployment. Usingdotnet publish
throws an error: