Cook the tagliatelle in boiling salted water until al dente, about 12 minutes.
Meanwhile, make the sauce. Heat the oil in a frypan and saute the onion and garlic until soft. Add the mushrooms and wine and simmer 2 minutes. Remove from the heat, stir in the cream cheese and the cream then season with salt and pepper.