This question is a little messy, and the wording could certainly get cleaned up a bit, but it is absolutely on topic. It's a practical, answerable question specific to programming about a software tool commonly used by programmers (Visual Studio IDE).
Lets examine both of the proposed close reasons:
Opinion-Based
The official FAQ guidance that lives here on Meta Stack Overflow states (bold is mine):
“This question is likely to be answered with opinions rather than facts and citations.”
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or objective solutions.
The proposed plugins in each answer are objective solutions. They either work, and highlight SQL within .NET Code in the Visual Studio IDE, or they do not. This precise, objective criteria for judging the value of each plugin is directly laid out in the question:
If one ... [wanted] to get Dapper SQL strings in a C# project syntax colorized in Visual Studio (and for a bonus, syntax checked or even intellisense-capable!), how would one go about it?
The asker wants:
- SQL Colorization
- SQL syntax checking/ IntelliSense
The answers could be improved, perhaps, with more specific explanation about their given plugins, but they are certainly not "based entirely on opinions rather than objective solutions".
Seeking Recommendations
Starting again with the official Meta FAQ guidance on this closure reason:
How we define Seeking recommendations for books, tools, software libraries, and more
Recommendation questions are posts seeking off-site resources to solve the problem. The question asks for what to use rather than how to do something.
This question simply does not run afoul of that guideline. The opening line is a (again, perhaps busy) request for getting SQL syntax highlighting going, and specifically, word for word, "how would one go about it". They didn't ask for which library was best. They didn't ask for what plugin to use. They asked how to get highlighting. That's on-topic, plain and simple.
Having multiple answers suggest a plugin as a solution does not suddenly turn this question that's explicitly about "how" into an off-topic question about "what to use".
This question is not off-topic, and was rightly reopened.
(It could probably benefit from some fluff clean-up though.)