Roslyn: Roslyn SDK templates not working in VS 15 Preview 3

Created on 12 Jul 2016  路  2Comments  路  Source: dotnet/roslyn

  1. Install VS 15 Preview 3 - Enterprise SKU along with matching VS SDK.
    about
  2. Open new project dialog and double click on Visual C#->Extensibility->Download the .NET Compiler Platform SDK. This should create a project with a html file that contains a link to download and install Roslyn SDK VSIX. Follow the link to install this.
  3. Close and reopen VS. Looks under Tools -> Extensions and Updates to make sure the Roslyn SDK is installed.
    extandupd
  4. Open new project dialog again and look under Visual C#->Extensibility

Expected: Should see the Roslyn project templates for Analyzer + Code Fix, Code Refactoring etc.
Actual: Roslyn templates are missing in the UI
newproj

FWIW, Roslyn Syntax Visualizer extension from the installed Roslyn SDK seems to work fine. Only the project templates appear to be missing.

sv

Area-Analyzers Area-IDE Bug

Most helpful comment

Never mind - this was happening because I had the target framework drop down in the new project dialog set to .NET Framework 4 instead of .NET Framework 4.5.2. The templates appear if I set the drop down to .NET Framework 4.5.2 (the default).

All 2 comments

@Pilchie @srivatsn - I'm not sure which team is responsible for the Roslyn SDK so I've added both Area-Analyzers and Area-IDE.

Also FYI @jmarolf.

While we are fixing the above issue it probably makes sense to also do the work to deploy the Roslyn SDK by default as part of VS SDK (i.e. make it so that we don't need a bread crumb in the VS new project dialog to download the Roslyn SDK. We can leverage the new setup engine for this.

Never mind - this was happening because I had the target framework drop down in the new project dialog set to .NET Framework 4 instead of .NET Framework 4.5.2. The templates appear if I set the drop down to .NET Framework 4.5.2 (the default).

Was this page helpful?
0 / 5 - 0 ratings