MS Project Add-in causing VS in indefinite waiting state.

J

Jason

I just found an issue with the MSProject add-in. Here is the description on
how to re-produce it.


1. Assume you have installed MSProject Add-in for VSTS.
2. Assume you use the Visual Studio 2008 MSProject template to create one of
your new add-in project. In the ThisAddin_Startup method implementation, you
simply add one line of code such as MessageBox.Show(“Testâ€);
3. Assume you log into a window XP as user1, and user 1 can’t access a TFS
server because user1 is not in the TFS valid users group. To access the TFS,
assume you have to use a valid user: user2. When you tried to connect to the
TFS in the VS Team Explorer (TE), a login window pops up, where you enter
user2’s id and password to connect to the TFS.
4. In TE, expend a TfsProjectName|Work Items | Team Queries. Right click on,
for example, “My Work Items†query and select the “Open in Microsoft Projectâ€
item in the context menu. You would see a message box popup showing “Testâ€.
This “Test†message box is, of course, displayed by your add-in. After
clicking the ok button in the message box. The visual studio goes into
indefinite waiting state. The messages shows as:

“Microsoft Visual Studio is waiting for an operation to complete. If you
regularly encounter this delay during normal usage please report this problem
to Microsoft. Please include a description of the work you were doing in
Microsoft Visual Studio and when possible instructions on how to reproduce
this delay.

If Microsoft Visual Studio is waiting on another application you can switch
to that application, or you can continue waiting for this operation to
complete.â€

At this stage, there is no way to do any other actions within VS. You have
to use the window Task Manager to kill the VS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top