BT

Introducing Clide, an “Enjoyable Visual Studio Automation API”

by Jonathan Allen on Nov 10, 2013 |

When writing an add-in or extension for Visual Studio developers have traditionally had to choose between EnvDTE and the IVs interfaces. The former is easy to use but limited; the latter exposes all of Visual Studio but contains “a lot of COM baggage”. In an attempt to create library that is both powerful and easy to use Clarius Labs is offering Clide which they call an “Enjoyable Visual Studio Automation API”.

Clide relies on modern .NET API coding styles such as the use of LINQ and extension methods. Here is a sample provided by Daniel Cazzulino that demonstrates finding all of the project names in a solution.

var projects = DevEnv.Get(serviceProvider)
.SolutionExplorer()
.Solution
.Traverse()
.OfType<IProjectNode>()
.Select(project => project.DisplayName)
.ToList();

Clide is offered as an open source project with a custom license. The documentation is available on NuDoq.

Rate this Article

Relevance
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
General Feedback
Bugs
Advertising
Editorial
Marketing
InfoQ.com and all content copyright © 2006-2016 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT

We notice you’re using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.