The error message is very clear. In first part need to check the point-1
and for second error part you need to very the point-2.
1. LocalDB or SQL Server Express installed and running on the local computer
2. SSDT installed. To check follow [Tools > Extensions and Updates -> Installed > Updates]
If update not works then go the link
https://msdn.microsoft.com/en-us/mt186501[
^] download it and install into your system.
Happy Coding!!