This question is locked. New answers and comments are not allowed.
I recently upgraded to the latest version of Data Access (Q2 2014 SP1), hoping this issue had been resolved, but it does not yet appear to be. I have found references to it in the past, but the last time someone mentioned it in regards to the Data Service wizard the discussion did not seem to go anywhere.
Here is my scenario:
I have a web application under source control (TFS) that I am developing in Visual Studio 2012. I launch the Data Service Wizard by right-clicking on the project and selecting "Add Data Access Service...". The wizard proceeds normally, and my classes are generated as expected. Unfortunately, if the wizard needs to perform any operations that involve a source control operation (add file, check out file, etc), Visual Studio enters a "pseudo-locked" state - typing in the text editor works, but all "special" keys stop working (such as Ctrl, Alt, and Backspace).
If Visual Studio enters this state, I have to restart it to restore normal functionality. When I try to shut it down, I receive this prompt:
---------------------------
Microsoft Visual Studio
---------------------------
Microsoft Visual Studio has detected that an operation is blocking user input. This can be caused by an active modal dialog or a task that needs to block user interaction. Would you like to shut down anyway?
---------------------------
Yes No
---------------------------
I'm using a Fluent model. If I check out the files I expect to be modified before I run the wizard, the issue does not arise. This is an acceptable workaround for many scenarios, but it does not help if I've added a new entity to my model, as an "add" operation by the wizard will still cause this issue.
I know this issue used to affect the model designer interface, and the recommendation was to disable the T4 security prompt. I have disabled this prompt to no effect. I would appreciate any other suggestions on how to avoid this issue.
Here is my scenario:
I have a web application under source control (TFS) that I am developing in Visual Studio 2012. I launch the Data Service Wizard by right-clicking on the project and selecting "Add Data Access Service...". The wizard proceeds normally, and my classes are generated as expected. Unfortunately, if the wizard needs to perform any operations that involve a source control operation (add file, check out file, etc), Visual Studio enters a "pseudo-locked" state - typing in the text editor works, but all "special" keys stop working (such as Ctrl, Alt, and Backspace).
If Visual Studio enters this state, I have to restart it to restore normal functionality. When I try to shut it down, I receive this prompt:
---------------------------
Microsoft Visual Studio
---------------------------
Microsoft Visual Studio has detected that an operation is blocking user input. This can be caused by an active modal dialog or a task that needs to block user interaction. Would you like to shut down anyway?
---------------------------
Yes No
---------------------------
I'm using a Fluent model. If I check out the files I expect to be modified before I run the wizard, the issue does not arise. This is an acceptable workaround for many scenarios, but it does not help if I've added a new entity to my model, as an "add" operation by the wizard will still cause this issue.
I know this issue used to affect the model designer interface, and the recommendation was to disable the T4 security prompt. I have disabled this prompt to no effect. I would appreciate any other suggestions on how to avoid this issue.