Enabling Roslyn code analysis in your project


Let's say you have created your code analysis pack from Roslyn. How do you turn it on your project?


Just right click, on your project and select "Add Anaylzer".  Choose your code analyzer, in  your project (you can distribute it as part of your project as nuget). Doing this is similar to adding a piece of code as shown below in your project.








Well all you need to do is edit csproj files, add this in and reload :-



   
 



That's it and you will start to see alot of squirly text in your project, depending on what you're trying to do.




Comments

Popular posts from this blog

PySpark - Working with JDBC Sqlite database