We support a large number of .NET Project and Solution files manually; it is ugly tiring and needs to be automated. Files are all XML, so writing a tool for our purposes would not be difficult, but I was wondering if anyone knew of a VS or TFS API object that would allow me to work with these files as objects without creating my own class.
For our purposes, we need to ensure that all projects comply with a number of standards: - basic addressing - custom assembly types - specific properties for each type of assembly - custom "After assembly" actions
I found APIs for working with projects when they are loaded into Visual Studio, and I am weighing the possibility of writing an add-in for our needs, but ideally I would just like to deserialize the object directly from files; make sure it meets the requirements; if necessary, make changes and serialize the object back to the file.
fyi: If you are looking for the same, let me know; I am interested in writing this after work and sharing it with CodePlex. There will be some interceptors for my purposes in TFS, but I would like to create something useful for others as well.
source share