Plugin created in 2010 is not working in 2012 - by Sirisha M

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 785969 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 4/30/2013 10:11:15 PM
Access Restriction Public



We have created custom plugin for Coded UI in Vs 2010. This plugin is working fine on 2010. Recently, we have migrated to 2012. If the plugin is enabled, CUIT is not able to record/playback the actions. We are seeing an issue while initializing the playback itself.

We made sure the plugin project is supported for 2012. The plugin is all about redirecting to UIa technology for some of the MSAA controls. I could figure out the point where the problem is seen. In the plugin we have the following code:


At the above line the process is going into hang state.

How do we modify the plugin to be compatible with 2012 version?

Any suggestions would greatly help us.


Sign in to post a comment.
Posted by Sirisha M on 5/7/2013 at 12:08 AM
Thanks team for the information.

Posted by Microsoft on 5/6/2013 at 3:57 PM
Hi, there were some optimizations we did in 2012 that is causing the problem. In short in vs2010 it was working by chance (ideally it was not supposed to work).
Posted by Siddhartha [MSFT] on 5/6/2013 at 6:58 AM
I hope the solution works well for your solution. I will go ahead and resolve the bug as By design. Do reach to us if you need more info.

Siddhartha Pandey
Posted by Siddhartha [MSFT] on 5/6/2013 at 5:38 AM

The code was working by chance in 2010. We did some optimizations in loading the plugins, because of which we can see the issue surface.

Siddhartha Pandey
Posted by Sirisha M on 5/6/2013 at 4:13 AM
Hi Team,
The suggested solution is working fine for me. Thanks a lot for providing solution very quickly. We really appreciate it.
I have a small doubt,
        the same code is working fine in 2010 why it is not holding good in the case of 2012?
Posted by Siddhartha [MSFT] on 5/6/2013 at 12:55 AM
Can you comment out the below lines. The code should still work, because UIaTechManager will already have been initialized no need to explicitly initialize it again.

public override void StartSession(bool recordingSession)

        public override void StopSession()
Posted by Microsoft on 5/2/2013 at 1:15 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Macy [MSFT] on 4/30/2013 at 10:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(