cezarypiatek / MappingGenerator

:arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
https://marketplace.visualstudio.com/items?itemName=54748ff9-45fc-43c2-8ec5-cf7912bc3b84.mappinggenerator
MIT License
1.03k stars 120 forks source link

Installed VS Extension... and now what? #24

Closed alprinias closed 6 years ago

alprinias commented 6 years ago

Hi,

I am trying to understand how to use your extension. I installed the vsix in my VS 2017 community and I can see it in my Extensions and Updates (v. 1.3.125). And now? What do I have to do to use it? I cannot see any "Generate Mapping ..." when I hover the yellow light bulbs on the left side of my code window. What am I missing?

Best, Alex

cezarypiatek commented 6 years ago

Hi

By default MappingGenerator functions should be available in light bulbs or by pressing ctr+. Could you provide a code that your are trying to treat with MappingGenerator?

alprinias commented 6 years ago

Hi Cezary, thanks for your answer. After installing the extension and a couple of VS restarts, it wasn't showing. After that, I installed a VS update (15.7.5) and now it shows! Who knows what it was... Thank you ! Alex

cezarypiatek commented 6 years ago

I'm happy to hear that everything works. It's not the first time when one update of VS breaks Roslyn analyzers and another one fixes it.