Create Visual Studio Extensions Using the Roslyn Compiler

The Roslyn Compiler's Service APIs, which are registered with MEF, can be used to create Visual Studio extensions. By implementing specific interfaces and using MEF-style attributes that match, Visual Studio developers can take advantage of Roslyn.

A developer can use the Code Issue extension, for instance, to write their own compiler warning and error messages. A sample project is included with the CTP that demonstrates this principle by displaying compiler warnings any time the letter A shows up in the syntax tree.

The Roslyn Compiler's Service APIs, which are registered with MEF, can be used to create Visual Studio extensions. By implementing specific interfaces and using MEF-style attributes that match, Visual Studio developers can take advantage of Roslyn.

View Article



Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Organizations today are under tremendous pressure to deliver a higher quality of products and services at lower costs, and to do so using existing resources. Any expenditure companies do make to help them achieve this goal is expected to deliver a measurable, hard-dollar ROI — and to deliver it quickly. The Internet of Things (IoT) is creating new opportunities for companies to enhance their products, gain business insights and differentiate their offerings. This whitepaper defines an ROI model for …

  • On-demand EventEvent Date: March 21, 2017 With the rise in ransomware attacks, bank heists that reached new levels of sophistication, and extortion plots that were beyond anything we could have imagined, 2016 certainly was an eventful year for cybersecurity. Going into 2017, no business can afford to be uninformed about cybersecurity or unprepared for an attack. Watch this informative webinar, presented by Andrey Pozhogin, Senior B2B Product Marketing Manager at Kaspersky Lab, as he examines predictions for …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date