Invest in people before investing in tools

Il blog di Matteo Baglini
posts - 118, comments - 95, trackbacks - 697

Nuova FxCop Rule per il controllo del Multi-Targeting

Krzysztof Cwalina ha scritto un post nel quale discute di una delle nuove funzionalità di Visual Studio 2008, il Multi-Targeting, e spiega qualche debolezza del sistema:

I worked on this feature in the planning phase (read “long time ago”), and so I am quite thrilled to see it finally in the hands of developers. [...cut...] But now I have to confess, there are some limitations in this design that we accepted when we made the original simplifying assumption. There is a very limited number of APIs being added to the Red assemblies and the multi-targeting system is currently not able to detect these.

Nel post mostra un esempio concreto. Per ovviare al problema ha creato una nuova Rule per FxCop che analizza l'assembly e segnala l'errore tramite warning. La Rule è utilizzabile anche per lo strumento di Code Analysis presente in varie versioni di Visual Studio Team System.

Fonte: FxCope Rule for Multi-Targeting

Technorati Tags: , ,

Print | posted on mercoledì 3 ottobre 2007 18:59 | Filed Under [ .NET ]

Powered by:
Powered By Subtext Powered By ASP.NET