none
VS database project "has an unresolved reference to object"

    Question

  • We are using VS 20013 with Database Projects and getting error on build “ has an unresolved reference to object “ for objects in another database which is referenced in project.

    Moreover  VS behaves completely chaotic so that we get different errors in different time on different machines in different projects and for even different columns in the same table.

    This reminds me on DLL hell which I was through some 20 years ago.

    Would appreciate any help on this topic.

    Regards

    Goran

    Wednesday, March 16, 2016 2:18 PM

Answers

  • I have just found solution from https://social.msdn.microsoft.com/Forums/en-US/243d5dbd-ffd2-4caa-a0cd-9481444e6282/unresolved-reference-in-views-very-very-frustrating-?forum=vstsd

    It needs to delete  .dbmdl file in the project root.

    • Marked as answer by Susa Goran Wednesday, March 16, 2016 3:25 PM
    Wednesday, March 16, 2016 3:24 PM