问题
I have a Visual Studio 2015 professional (in Windows 7) and Visual Studio 2015 community (in Windows 10), both of have latest update 1 installed. And I have both of them opened the exactly same solution. Both tools also have Refactoring Essentials for Visual Studio
plug-in installed.
In professional edition I can clearly see live code analyzer actually works: You can see the wave lines under files, folders, projects and solution. When I hover mouse over then I can preview the issue before I compile the code.
However in community edition, no such thing happens at all:
Does Microsoft do this deliberately to limit the feature of community edition? Last time I heard Roslyn should be equally supported in community edition.
回答1:
From what I learned, Roslyn code analyzers should work in VS 2015 Community Edition. However, highlighting errors in the whole Solution Explorer is handled by a different extension than you have mentioned - it is Productivity Power Tools 2015.
来源:https://stackoverflow.com/questions/34464124/doesnt-visual-studio-2015-community-edition-support-live-code-analyzer