Geeks With Blogs

News Blog moved to http://blachniet.com
Brian Lachniet Visual Studio
Avoiding FxCop Warning CA0060
Okay, so the title may have been a little misleading. I'm not going to show you how to avoid warning CA0060, but how to avoid your build failing because of this warning. This is only helpful if you are running FxCop as a Post-build Event. When FxCop fails due to its inability to find indirectly referenced assemblies, it exits with error code 512 (0x200 - Assembly Reference Error). So all you need to do is check that error code, send out a simple warning message, and reset the error code to 0. The ......

Posted On Tuesday, July 12, 2011 1:29 AM

Formatting Errors & Warnings For Visual Studio
If you want to warnings and errors from your build events to show up in Visual Studio's Event List, you need to follow a formatting standard. Origin - Generally the name of the exe or batch file you're running SubCategory Category - Should either be Error or Warning Code - Error code specific to your application Text Bold items are REQUIRED ......

Posted On Tuesday, July 12, 2011 1:14 AM

Copyright © blachniet | Powered by: GeeksWithBlogs.net | Join free