My database projects in Visual Studio have recently starting throwing these unresolved reference errors every time any create table file in the project is touched.
SQL71501: Column: ___ has an unresolved reference to Built-in Type [int].
SQL71501: Column: ___ has an unresolved reference to Built-in Type [datetime].
SQL71501: Column: ___ has an unresolved reference to Built-in Type [varchar].
If I rebuild the project, everything builds with no errors, and the errors flagged by Visual Studio disappear. However, as soon as I edit any file (even as little as adding a space to the end of a file), that file will immediately become plagued with these unresolved reference errors... until I rebuild again. However, as it's a fairly large project, I don't want to spend about a minute rebuilding after every single minor edit.
This project is worked on by several other people, who do not encounter this issue. How can I resolve this?
Update: If I change tabs, the errors for the first tab disappear until I go back to it. I've also disabled all extensions, but the problem still occurs.
create tablescripts specifically that do it. Those are writtencreate table [schema].[table] ( ... )