Used to have this problem with an old partner of mine, seems he took a fancy to me early on in my career, thought it was because he thought I was good at my job, turns out he just thought I had a cute butt.
Anyway, after a while I noticed that he was becoming a little more forward and was making some advances, I started getting more and more uncomfortable, he was a great guy (and still is), is an excellent worker and someone who could be depended on when the stuff hit the fan!
One night I sat down and thought long and hard about how uncomfortable I was feeling, finally it all came into focus for me... if the tables were turned and I started having feelings for a female partner... and somebody was kicking the crap out of her down an ally, I’d probably rip the dude apart with my bare hands.
After that day it was pretty comforting knowing if I needed help the guy who had feelings for me was coming to save me!
I told my partner that I was flattered that he had feelings for me, but I just didn’t swing that way nor could I be converted.
Just another perspective.