I had the same error, my problem was that I accidentally (VS Auto import) imported files between libraries using relative path.
hope it helps someone !