Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSDT Publish - Object Reference not set

I am trying to publish an SSDT project and it is throwing an error "Object reference not set to an instance of an object" No other message, is there a way to troubleshoot this.

enter image description here

like image 441
Shiju Samuel Avatar asked Oct 18 '25 21:10

Shiju Samuel


2 Answers

I had the same error and it was because of the build configuration.

The SSDT was missing the current solution build config. After adding it via Configuration Manager to the SSDT it worked again.

like image 126
Keyto Avatar answered Oct 21 '25 12:10

Keyto


I got this error when right-clicking on a DB project and selecting Publish.. (although nothing was showing at all in the Data Tools Operation window, unlike OP)

I built the project, then Publish... started working again :)

Using SQL Server Data Tools 15.1.61810.11040

like image 41
Kevin Doyon Avatar answered Oct 21 '25 11:10

Kevin Doyon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!