Browse by Tags

How to use T4 templates in WP7, Silverlight, Desktop or even MonoDroid apps
In other words, how to use T4 templates without ANY runtime dependencies? Yes, it is possible, and quite simple and elegant actually. In a desktop project, just open the Add New Item dialog, and search for "text template": From the two available...
How to inspect a type inheritance tree properly
You might think this is a trivial thing, with Type.BaseType and Type.GetInterfaces already there. But there's catch: the GetInterfaces method will give you all the implemented interfaces by the concrete type, as well as all its base types, as well as...
Team and OS resilient assembly references for Visual Studio Extensibility development
If you just go and use the VS Add Reference dialog to pick assemblies from the PublicAssemblies or PrivateAssemblies or the Visual Studio SDK installation folder, you will end up with references that will have relative or absolute hint paths pointing...
How to remove all useless new lines in automatic properties in an entire solution
Say you have someone on the team that for whatever reason keeps changing back the corresponding VS settings (or even worse, wasting keystrokes) and formats automatic properties like so: public string Foo { get; private set; } Say you got tired of freakin...
Old style imperative mocks vs moq functional specifications
Here's a fairly complex object graph that needs to be setup as part of a unit test, as done in "traditional" moq : var el1 = new Mock<IElementInfo>(); el1.Setup(x => x.Id).Returns(Guid.NewGuid()); el1.Setup(x => x...
Keeping lists of frequently used assembly references
This idea had been on our heads for quite a while. Just to make sure it wasn’t just us who thought it was a cool idea, we posted it on the Extension Ideas forum and it rather quickly made it to the top 10. You can go straight to the bits and/or keep reading...
Search References multi-platform support is forward-compatible
Remember when I introduced you to the Search References extension ? I know my fellow coworkers at Clarius are awesome and all, but I was happily surprised when after installing MonoDroid, the following just worked: See the "Filtered to: MonoDroid...
How to install Visual Studio 2010 Search References and Pro Power Tools side by side
The new Visual Studio 2010 Pro Power Tools bring a new Add Reference dialog that completely replaces the classic one when you click the familiar Add Reference command: It seems like a nice dialog that is more aligned with the new Add New dialog and the...
Add References with Search
If you have been using VS2010 for any significant amount of time, you surely came across the awkward, slow and hard to use Add Reference dialog. Despite some (apparent) improvements over the VS2008 behavior, in its current form it's even LESS usable than...
MEF, IServiceProvider and Testing Visual Studio Extensions
In the latest and greatest version of Visual Studio , MEF plays a critical role, one that makes extending VS much more fun than it ever was. So typically, you just [Export] something, and then someone [Import] s it and that's it. MEF in all its glory...
More Posts Next page »

Search

Go

This Blog

News

     

      Microsoft MVP Profile

Syndication