How to Transform a Friend Into Your Girlfriend

Has there ever been a time where you've really liked a woman and you assumed the feeling was mutual, but you later found out it was after she told you that she just wanted to be friends? It sucks, I know...