The association between primrose and pleasure comes from its status as an early spring flower, and that flower's association with maidens and pleasure. According to the Oxford English Dictionary, the word comes from Anglo-Norman primerose, lit. first rose. (Compare primerole, another word that referred to early spring flowers like the daisy, primrose, and cowslip.) The Middle English Dictionary entry gives lots of examples of early usage for primrose.
First, it helps to know that these flowers were eaten. Your question reminded me of a Middle English lyric, Maiden in the Mor, which uses the primerole as a food (mete) consumed by the eponymous maiden:
Welle was hire mete— wat was hire mete?
The primerole ant the, the primerole ant the—
Welle was hire mete— Wat was hire mete?
The primerole ant the violet.
What? Eat flowers? There is a naturalistic edge to this (surviving only on flower), but primrose was also known as a pleasurable, sweet food! In a late medieval cookbook (BL Harley 279), mixing up flowers to eat was delicious (again from the Middle English Dictionary):
a1450 Hrl.Cook.Bk.(1) (Hrl 279)25 : Prymerose: Take oþer half-pound of Flowre of Rys, iij pound of Almaundys, half an vnce of hony & Safroune, & take þe flowre of þe Prymerose, & grynd hem, and temper hem vppe with Mylke of þe Almaundys, [etc.].
(Primrose: take other a half-pound of flower of rice, 3 pounds of almonds, half an ounce of honey and saffron, and take the flower of the primrose, and grind them and temper them up with almond milk.)
So we have flowers, eating, and maidens. Any eroticism is through association with spring and maidens, who are (a) pure and (b) ready for sex, marriage, and/or childbirth. Here is a stanza from the fifteenth century poem Ave Regina Celorum by John Lydgate, where the primrose is used to describe Mary:
Hayle! holy maydyn, modyr and wyfe,
That brought Israell out of captyuyte,
As sterre of Iacob by a prerogatyfe
With the blessyd bawme of thy virginite,
The holyest roote that sprang out of Iesse,
Prymrose of plesaunce, callyd flos florum,
Thou were tryacle ageyne olde antiquite,
Aue regina celorum!
Mary is the primrose of pleasure, the flos florum (flower of flowers). If there is any erotic sense here, it is subsumed under God and Mary's role as the divine maiden, mother, and wife. Still, the connection to pleasure is there, and it appears in other texts. For example, back to the Middle English Dictionary, there is this example from a fifteenth century lyric:
c1450 Excellent soueraine (Dc 95)136 : Farewell prymerose, my plesaunce.
Plesaunce is a common collocation for primrose, perhaps because of the alliteration. So the primrose is a flower of pleasure, either in taste or in other figurative use.
In these and other examples, I find no reference to such pleasure being a negative thing. Given that absence (an an Early English Books Online search mainly revealed references to herbology or to people in positive senses) I suggest that any negativity would be context-dependent. So the notion of the primrose path as negative depends on its context in Shakespeare, not on any quality of the primrose.