Given the proper context, they would mean the same thing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
tenjingYou were to have asked me before you took my bike.You were (supposed) to ask me before.... [ This seems a bit odd, but it is structurally correct. ]