VS 2012 Premium Crash On Shutdown when a VS Addin Window has been docked - by Patrick Smacchia

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.


1
0
Sign in
to vote
ID 767065 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 10/11/2012 8:38:14 AM
Access Restriction Public

Description

So, when closing VS2012 Premium with our NDepend addin v4.0.2 and Resharper v7.0.1 installed, we get the following exception:

System.MissingFieldException
   {"Field not found: 'Microsoft.VisualStudio.Progression.Actions.FetchTypeDependencies'."}
   at Microsoft.VisualStudio.ArchitectureTools.ProgressiveReveal.ProgressiveRevealProvider.Dispose(Boolean disposing)
   at Microsoft.VisualStudio.ArchitectureTools.ProgressiveReveal.ProgressiveRevealProvider.Finalize()

I think it is a VS2012 specific bug (and not a bug of our VS addin), since it was already mentioned in this Brian Harry post;
http://blogs.msdn.com/b/bharry/archive/2012/04/11/preemptive-analytics-in-visual-studio-and-tfs-11.aspx


Look for:
MICROSOFT.VISUALSTUDIO.ARCHITECTURETOOLS.PROGRESSIVEREVEALPROV!Microsoft.VisualStudio.ArchitectureTools.ProgressiveReveal.ProgressiveRevealProvider.Finalize [Clr20r3: system.missingfieldexception] 


Sign in to post a comment.
Posted by James [MSFT] on 2/7/2013 at 2:21 PM
Hi Patrick, it seems that the uninstallation was not successful so that it didn't remove all the old files. Unfortunately at this point, you probably need to install your VS2012 final release on a clean machine to avoid the issue you have seen. In the future, we'll improve on the installation experience to avoid issues like this.
Posted by Patrick Smacchia on 10/15/2012 at 7:02 AM
>Did you install a pre-release version of VS2012 at some point on this same machine? For example, Dev11 Developer Preview, or Beta, RC?

Yes I did install Beta and RC before RTM


>If so, did you uninstall the pre-release version before installing the RTM version?

Yes I did uninstall the pre-release version before installing the RTM version


>Also, if you installed pre-release version before, which SKU (Ultimate, Premium, Professional, etc.) did you install?

I installed Ultimate pre-releases, and Premium RTM. This scenario is certainly the cause of the issue. See the screenshot I just added, where when I start VS2012, I can see in the task list:

Normal    Build Error    incomplete    Field not found: 'Microsoft.VisualStudio.Progression.Actions.FetchTypeDependencies'.        0
Normal    Build Error    incomplete    Provider ProgressiveRevealProvider failed to initialize        0

Posted by James [MSFT] on 10/12/2012 at 11:10 AM
Thanks for the feedbacks. Can you please provide the below information to help us investigating this issue?
- Did you install a pre-release version of VS2012 at some point on this same machine? For example, Dev11 Developer Preview, or Beta, RC?
- If so, did you uninstall the pre-release version before installing the RTM version?
- Also, if you installed pre-release version before, which SKU (Ultimate, Premium, Professional, etc.) did you install?
It will be really helpful to us to investigate this issue if you can provide the above information.
Posted by Macy [MSFT] on 10/11/2012 at 8:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)