Bringing you news, technical articles, and other useful content about Visual Studio ALM and Team Foundation Server
More videos »
With Visual Studio 11 Beta, we had started sharing the code index SDK.
Last week, we shipped the Visual Studio 2012 RC Visualization and modeling SDK (VsVmSDK RC), which, among other features, contains the Code index SDK build tasks. This is an opportunity to explain what changed in the Code Index SDK.
We have updated the first 2 samples, to account for a few schema changes (for details, see What is new in Visual Studio 2012 RC Visualization and Modeling SDK). The sample named Code Index - How to discover ignored tests can now display the source and line of the offending tests, if the index was bulk loaded.
Finally, we have added a new sample which produces a file containing the public API of indexed assemblies. (See Code Index - How to discover and output the public API of an assembly) This useful, for instance, if you provide an assembly to your customers, and want to make sure that you won’t provoke any breaking change, or just to document the changes. To do that, you would index a previous version of your assembly, and dump its public API using the sample, then index the new version of the assembly and dump its public API as well, and then diff the 2 resulting text files. This is also useful if you leverage third party assemblies and want to check if you will be broken or plan work to do. Technically, this sample is also great in the sense that it shares a bit more of the code index schema, in particular it show how to browse through the notion of Type Signatures, and method signatures.
If you want to try out the new code index SDK: