I tried rebuilding solution, cleaning etc to no avail but I have found that I had still one reference to missing piece in one of the .csproj files - once removed the problem went away.