reflection - How to use FxCop CustomDictionary.xml from the project localization? -
i create custom fxcop rule, need the path customdictionary.xml, not in program files, used in fxcop project file. has tryed use reflection assembly.getentryassembly() , diagnostic process.getcurrentprocess() no result. should search such information?
do want access particular file, or take advantage of cumulative dictionary contents (as microsoft-provided fxcop rules)? if latter, can use public microsoft.fxcop.sdk.namingservice class, takes care of messy dictionary file reading details you.
Comments
Post a Comment