I am currently working on a static source code analyzer for ASP.NET projects.
My analyzer runs fine on ASP.NET WebForms but there seem to be issues with MVC projects. There are certain identifiers/tokens in MVC Projects that do not seem to have an underlying symbols, hence when my analyzer tries to do analysis with the symbol, an NullReference exception will occur. Are there any known issues of Roslyn working with MVC projects? I read this post How to use Roslyn Code Analysis API with MVC 6 projects , but i cant seem to install the DNX workspace package on my project.
Copyright Notice:Content Author:「Kim KangIn」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/38390198/analyzing-asp-net-mvc-projects-with-roslyn