I'm working on a tool which will check a configuration file for a large system.
In order to do this, I want to look for all references to a particular method (the one responsible for loading a value from the config object), and check that all the parameters from each instance of the call are present in the config object and are permissible for loading on a named system.
The config file is only ever created by one application, which will be run from a known directory. It reflects all DLLs in the directory to return all instances of the method call which loads a property in order to create a list of all properties used by the system for validation.
This approach works when running from the installation directory, however durning development, I will need to run the tool from the IDE.
When running from the IDE, I want to find the name of the open solution file so that I can retrieve the subordinate projects and get all references to the config object.
Is it possible to get the name of the solution file from an instance of the debugger running in the IDE (VS2013 in this case).
Aucun commentaire:
Enregistrer un commentaire