Add a database reference to master:
• Under the project, right-click References.
• Select Add database reference....
• Select System database.
• Ensure master is selected.
• Press OK.
Note that it might take a while for VS to update.
If it does not work, on the table sql file, please right click properties and verify the BuildSettings are set to Build.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.