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

  • On-demand Event Event Date: March 23, 2017 As you adopt the use of cloud services, whether in public/IaaS, SaaS or hybrid environments, the attack surface expands and, if breached, the costs increase exponentially. This session is designed to help IT and security leaders understand and address the unique challenges that enterprises typically face when they deploy their applications in the public cloud. It summarizes the areas that the public cloud vendors typically take care of and highlights the areas …

  • Entire organizations suffer when their networks can't keep up and new opportunities are put on hold. Waiting on service providers isn't good business. In these examples, learn how to simplify network management so that your organization can better manage costs, adapt quickly to business demands, and seize market opportunities when they arise.

Most Popular Programming Stories

More for Developers

RSS Feeds

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