Skip to main content


 

Symptoms


When opening Microsoft Visual Studio on a workstation computer and then subsequently opening a K2 Project file, then the K2 specific boxes will throw an error like the following:

An exception was encountered while constructing the content of this frame. This information is also logged in "C:UsersdehAppDataRoamingMicrosoftVisualStudio11.0ActivityLog.xml".

Exception details:
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guidand packageGuid, Int32 reason, Guidand context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()


Additionally here is an extract of my ActivityLog.xml:

37
2016/02/02 06:45:38.237
Information
VisualStudio
Begin package load WorkflowPackage]
{AB85DF7A-EE9A-42CB-877E-E96781A6E60E}


38
2016/02/02 06:45:38.454
Error
VisualStudio
SetSite failed for package WorkflowPackage]
{AB85DF7A-EE9A-42CB-877E-E96781A6E60E}
80131509
The tools version "4.6" is unrecognized. Available tools versions are "2.0", "3.5", "4.0".


39
2016/02/02 06:45:38.467
Error
VisualStudio
End package load WorkflowPackage]
{AB85DF7A-EE9A-42CB-877E-E96781A6E60E}
80131509
The tools version "4.6" is unrecognized. Available tools versions are "2.0", "3.5", "4.0".


40
2016/02/02 06:45:38.467
Warning
VisualStudio
Package failed to load error message suppressed by skip flag
{AB85DF7A-EE9A-42CB-877E-E96781A6E60E}

 

Diagnoses


It seems this is an issue with Microsoft .NET 4.6.1 and K2 Blackpearl 4.6.11
 

Resolution

According to our Support Matrix here: http://help.k2.com/blackpearl/support-matrix_NET - it seems that .NET 4.6.1 is not supported for K2 4.6.11, however .NET 4.6 is supported.

You can use this link to determine your currently installed .NET version (scroll 1/4 down): https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

Make sure you uninstall .NET 4.6.1 and only .NET 4.6.0 is installed, then Visual Studio will work again.




 
Be the first to reply!

Reply