Adding #:project stops code completion

If I ass #:project /Users/jay/RiderProjects/DBML Parser/Ivy.Dbml.Parser/Ivy.Dbml.Parser.csproj that refers to another project, all the code completion stops working.