Roslyn resources
Today I’m giving a hand’s on hack session on using Roslyn to create code Diagnostics. As part of that, I put together a listing of some resources that might be helpful and thought I’d share them with everyone. Realize that these links are based on the versions for the Visual Studio 2015 RC and are subject to change when the product releases.
With that in mind, here are the links:
- Download Visual Studio versions: https://www.visualstudio.com/en-us
- Github repository for the Roslyn compilers: https://github.com/dotnet/roslyn
- Github repository for the .Net core: https://github.com/dotnet
- Code Cracker analyzer project: https://github.com/code-cracker/code-cracker
- VB Team Blog: http://blogs.msdn.com/b/vbteam/
- Posting of the new language features for C# 6 and VB 14: http://blogs.msdn.com/b/vbteam/archive/2014/11/12/introducing-the-visual-studio-2015-preview-for-c-and-vb.aspx
- LLILC (LLVM for .NET Core): https://github.com/dotnet/llilc
- Roslyn Visualizer: https://visualstudiogallery.msdn.microsoft.com/32fe332c-51ad-411a-a74c-9fdbc2a03bb7
- Roslyn SDK Templates: https://visualstudiogallery.msdn.microsoft.com/e2e07e91-9d0b-4944-ba40-e86bcbec1599
- Of course, I’d be remiss if I didn’t include this presentation: https://github.com/jwooley/RoslynAndYou
There are also some older hand’s on walkthroughs that might be helpful, but know that they are based on even earlier versions and you will need to figure out how to change them to get them to work. However, sometimes the best ways of learning is to fix something that is broken, so think of it as a growth exercise.
- MSDN article on how to write an analyzer: https://msdn.microsoft.com/en-us/magazine/dn879356.aspx
- MSDN article on how to write a code fix: https://msdn.microsoft.com/en-us/magazine/dn904670.aspx
- Hand’s on Labs from the Roslyn Documentation: https://github.com/dotnet/roslyn/tree/master/docs/samples
comments powered by
Disqus