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

  • 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.

  • Today's enterprise datacenter can be one of the most complex business environments with dozens (for smaller business), hundreds (for larger and midsize business), even thousands (for hyperscale businesses) of servers that must be managed and monitored. At this level, just managing the cords can be challenging — let alone keeping up with the growing need for more agility and scalability within the datacenter. Simply put, companies are aggressively looking for less complexity and more agility from their …

Most Popular Programming Stories

More for Developers

RSS Feeds

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