MDA ContestSwitchDeadlock
-
This is a repost as I didn't get a reponse to my last one :-( and I still can't get this thing to run through. Well I lie. It ran through fine once, but since then I've been getting this contextSwitchDeadlock issue, but I haven't modified the code! :doh: :confused: Anyone have any ideas? /TH
Hi All, I'm slowing finding my way around C#. I have written an application that takes a directory, take each file in that directory and also each file in each subdirectory, and then trys to find any files with the same name (Trying to clear up all my duplicate photos ) SO I have written the code, and checked it and checked it again, it does not get caught in an infinite loop. But when I F6 the app it comes up with a ContextSwitchDeadlock MDA issue.
-
This is a repost as I didn't get a reponse to my last one :-( and I still can't get this thing to run through. Well I lie. It ran through fine once, but since then I've been getting this contextSwitchDeadlock issue, but I haven't modified the code! :doh: :confused: Anyone have any ideas? /TH
Hi All, I'm slowing finding my way around C#. I have written an application that takes a directory, take each file in that directory and also each file in each subdirectory, and then trys to find any files with the same name (Trying to clear up all my duplicate photos ) SO I have written the code, and checked it and checked it again, it does not get caught in an infinite loop. But when I F6 the app it comes up with a ContextSwitchDeadlock MDA issue.
-
-
Hi Nader, I tried that. found something about setting it to "Full Trusted" which i tried, but that did not resolve it. Thanks for the help though!
-
Hi Nader, I tried that. found something about setting it to "Full Trusted" which i tried, but that did not resolve it. Thanks for the help though!
Though I don't like that solution, but here is a link to something that may help. Click here[^]. PS. If you are mulithreading, then getting this exceptions means that you've done something wrong, and ifnoring it isn't quite the best thing to do.
Regards:rose:
-
Though I don't like that solution, but here is a link to something that may help. Click here[^]. PS. If you are mulithreading, then getting this exceptions means that you've done something wrong, and ifnoring it isn't quite the best thing to do.
Regards:rose: