I would love ___to the party last night but I had to work extra

I would love ___to the party last night but I had to work extra hours to finish a report .

A.to go

B.having gone

C.going

D.to have gone

正确答案是D