|
-
Dec 6th, 2014, 06:08 PM
#1
Thread Starter
Frenzied Member
Any tool or setting in VS that prevent/alert on cross thread operations?
Hi!
I am doing code review of some of my customers developers code, and found that two of them are producing code (VB.NET and C# windows forms) with a lot of potentially dangerous calls to the UI from worker threads. Usually the debugger will throw an exception, but I checked, and these guys have turned off all exceptions for System.Threading (because they got annoying errors when debugging, they told me when I asked them) and hence, this code was released to the customer.
Now, I would love to find some setting or tool that will alert us if code like this is being checked in. Do you know of any tool or setting in VS 2012 that will react to these kinds of errors?
I have just recently set up a Team City buildserver, so in the long run, some tool that would catch errors like this would be great, I simply do not have time to check every single commit by these guys.
Any help is greatly appreciated.
/Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|