[FxCop] Experimenting with CODE_ANALYSIS turned on in Release build.
- Right now, all our nuget packages get built in Release mode. I'm trying to set it up so that the build both 1) runs the cops and 2) packages the nuget.
- Keep in mind that running FxCop on Release code is not the recommended way to go
- The procedure for opening the FxCop project file with FxCop 10.0 dialog tool is tedious: 1) skip both missing assembly warnings (you want both Debug and Release bins in the XML), 2) Run Analyze -> Hit skip on the missing System.Core DLL (.NET bug, fixed with FxCop 12.0, which is cmdline only...), 3) Exit by NOT saving your changes to the FxCop file (otherwise either the Debug or Release Target reference in the FxCop XML file will be lost.
- Recommendation: be careful with fxCop.FxCop file checkins and use FxCop 12.0 cmdline tool instead of dialog