Create Visual Studio Extensions Using the Roslyn Compiler

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

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

  • Read the ebook Hybrid Cloud & Data Fabric for Dummies to learn how a Data Fabric can ease data management complexity within a hybrid cloud and help you maximize the control of your data — from anywhere at any time. Find out how to: Seamlessly and dynamically move data across private and public cloud resources Keep data secure and minimize business disruptions …

  • Are you weighing the benefits of cloud storage versus on-premises storage? If so, the right answer might be to use both — a mix of on-premises and public cloud services with data mobility between the two platforms. Hybrid has piqued interest as more organizations look to the public cloud to augment their on-premises data management. Analyst firm IDC predicts that by 2018, 85% of enterprises will operate in a multi-cloud environment. Check out this easy-to-absorb infographic to explore five reasons to …

Most Popular Programming Stories

More for Developers

RSS Feeds

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