Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I create a new analyzer/code fix provider project after installing the Roslyn SDK?

I'm using Visual Studio 2017 RC. I just installed the .NET Compiler Platform SDK from here into my installation. I also installed the VS Extensibility Tools from here. However, I'm not seeing any Analyzer/Code Fix Provider templates when I trigger the New Project dialog:

enter image description here

I have tried uninstalling/reinstalling the Roslyn SDK extension, but the templates still do not show up. I have also tried re-launching the VS 2017 installer, clicking Modify, going to the 2nd tab Installed products, and checking for anything relating to Roslyn, but there's nothing there.

What can I do to make the templates show up? Thanks.

like image 890
James Ko Avatar asked Feb 24 '17 00:02

James Ko


1 Answers

You need to be targeting .NET Framework 4.6 or higher in the dropdown at the top of that dialog.

like image 57
Kevin Pilch Avatar answered Oct 05 '22 12:10

Kevin Pilch