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.A to go

B.having gone

C.going

D.to have gone

正确答案是D