StrataFrame Forum

Tried New VISX with VS 2013 and Win 10

http://forum.strataframe.net/Topic33071.aspx

By Buffie - 9/9/2015

This is the error I get. Not sure how it will appear on your end. I just copied and pasted it.
I tried to install Dot net 4.5 and it says I already have it installed so I am not sure what else to check for?
TIA

9/9/2015 10:33:06 AM - Microsoft VSIX Installer
9/9/2015 10:33:06 AM - -------------------------------------------
9/9/2015 10:33:06 AM - Initializing Install...
9/9/2015 10:33:06 AM - Extension Details...
9/9/2015 10:33:06 AM -    Identifier      : 0d9a9c3f-5ef0-4d1f-b38e-7bc0918e291d
9/9/2015 10:33:06 AM -    Name            : MicroFour StrataFrame
9/9/2015 10:33:06 AM -    Author          : MicroFour, Inc.
9/9/2015 10:33:06 AM -    Version         : 1.7.7.1
9/9/2015 10:33:06 AM -    Description     : VSIntegration package for MicroFour StrataFrame V1
9/9/2015 10:33:06 AM -    Locale          : en-US
9/9/2015 10:33:06 AM -    MoreInfoURL     : 
9/9/2015 10:33:06 AM -    InstalledByMSI  : False
9/9/2015 10:33:06 AM -    SupportedFrameworkVersionRange : [4.5]
9/9/2015 10:33:06 AM - 
9/9/2015 10:33:06 AM -    Supported Products : 
9/9/2015 10:33:06 AM -       Microsoft.VisualStudio.Pro
9/9/2015 10:33:06 AM -          Version : [11.0,14.0]
9/9/2015 10:33:06 AM - 
9/9/2015 10:33:06 AM -    References      : 
9/9/2015 10:33:06 AM -       -------------------------------------------------------
9/9/2015 10:33:06 AM -       Identifier   : Microsoft.VisualStudio.MPF.11.0
9/9/2015 10:33:06 AM -       Name         : Visual Studio MPF 11.0
9/9/2015 10:33:06 AM -       Version      : [11.0]
9/9/2015 10:33:06 AM -       MoreInfoURL  : 
9/9/2015 10:33:06 AM -       Nested       : No
9/9/2015 10:33:06 AM - 
9/9/2015 10:33:06 AM - 
9/9/2015 10:33:06 AM - Searching for applicable products...
9/9/2015 10:33:06 AM - Found installed product - Microsoft Visual Studio 2012 Shell (Integrated)
9/9/2015 10:33:06 AM - Found installed product - Microsoft Visual Studio Professional 2013
9/9/2015 10:33:07 AM - The extension with ID '0d9a9c3f-5ef0-4d1f-b38e-7bc0918e291d' is not installed to Microsoft Visual Studio Professional 2013.
9/9/2015 10:33:07 AM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
9/9/2015 10:33:07 AM - Found installed product - Microsoft Visual Studio Express 2013 for Web
9/9/2015 10:33:07 AM - Found installed product - Global Location
9/9/2015 10:33:07 AM - Found installed product - ssms
9/9/2015 10:33:16 AM - The following target products have been selected...
9/9/2015 10:33:16 AM -    Microsoft Visual Studio Professional 2013
9/9/2015 10:33:16 AM - 
9/9/2015 10:33:17 AM - Beginning to install extension to Microsoft Visual Studio Professional 2013...
9/9/2015 10:33:17 AM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'MicroFour StrataFrame' requires a version of the .NET Framework that is not installed.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForValidDotNetFramework(IExtension extension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForInstallBlockers(InstallableExtensionImpl extension, IInstalledExtensionList modifiedInstalledExtensionsList, Boolean isNestedExtension, Boolean& olderVersionInstalled)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)
By StrataFrame Team - 9/9/2015

Do you by chance have the Client Profile installed and not the whole framework?

I can also try removing the requirement from the VISX, but I'm not sure that's the problem.
By StrataFrame Team - 9/9/2015

Checking in ILSpy, it looks like the Microsoft.VisualStudio.ExtensionManager.Implementation contains a class to detect the installed frameworks.  It doesn't look like this class explicitly checks frameworks past .NET 3.5, and that instead all of the v4s (v4.0, v4.5, v4.5.1, v4.5.2, and v4.6) are all included in the v4.0 key in the registry.
By StrataFrame Team - 9/9/2015

I just re-posted the VISX after changing the required framework from 4.5 to the range of frameworks from 4.5 to 4.6.  Give that a shot.
By Buffie - 9/9/2015

I will try it later. Thank you.
By Edhy Rijo - 9/9/2015

Hi Ben, Terry,

Just to let you know, I just installed VS2015 and the SF VISX package for VS2013 & 2015 and it seems to be working just fine (Thanks a lot Ben!!!!)

For VS2013 and older, make sure you disable the "StrataFrame Add-in Manager" from the Tools menu before you install the VISX to avoid getting error and having the "StrataFrame" menu twice.
By Buffie - 9/10/2015

I only have VS 2015 installed on my laptop with Win 10 and I just tried the new VISX on it and it did not even recognize that I have VS 2015 installed. It did find VS 2013 that I also have installed.
????
This is just info so that Ben and his crew can work thru all of this.
By Edhy Rijo - 9/10/2015

Hi Terry,

Did you re-download the VISX package that Ben re-posted?

If not, download it again and try it.  I am also using Win 10.
By StrataFrame Team - 9/10/2015

What version of VS do you have installed, Buffie?  There are different editions, and I think I might have to explicitly allow all of the editions in the manifest of the VISX.
By Buffie - 9/10/2015

That did work. Thank you.

Edhy's note about disabling the add in is important.

Thanks again to both of you.

Op's I forgot to post this before my last post.
By Edhy Rijo - 9/10/2015

Hi Ben,

For the record, I installed VS 2015 Enterprise.
By Buffie - 9/10/2015

And I just VS Professional
By StrataFrame Team - 9/10/2015

Awesome.  I'm glad you are both working.  I have the InstallTarget set as Microsoft.VisualStudio.Pro [11.0,14.0] so it should be able to install on any VS of Pro or higher edition and VS2012, VS2013, or VS2015.  Having the Framework requirement at [4.5,4.6] appears to be important, too if you are on Windows 10 and only have VS2015 installed.

Thanks for your help guys and thanks for your patience Buffie while we figured out the InstallTargets.
By Buffie - 9/10/2015

Wait.

On my laptop I have Win 10 and VS 2015 along with VS 2013 and the new VISX package does not recognize that I even have 2015 installed?




How does one tell what version of Dot Net exactly is installed on Win 10?
By StrataFrame Team - 9/10/2015

The installed frameworks are here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4

As for not seeing that VS2015 is installed... let me check on that one.
By Buffie - 9/10/2015

Take a look at my picture and let me know if that is my issue.
TIA
By StrataFrame Team - 9/10/2015

When you open the Help -> About window in VS2015, there should be a button on the right that says "Copy Info."  Will you click on that and paste the contents here?  That should give me the debug info that I need...
By Buffie - 9/10/2015

Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Professional

Visual Basic 2015   00322-40000-00000-AA245
Microsoft Visual Basic 2015

Visual C# 2015   00322-40000-00000-AA245
Microsoft Visual C# 2015

Visual C++ 2015   00322-40000-00000-AA245
Microsoft Visual C++ 2015

Advanced Installer Extension   12.3.1
Advanced Installer Extension. For more information visit the Advanced Installer website at www.advancedinstaller.com. Copyright © Caphyon LTD. All rights reserved.

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20626.0
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

CreateLayoutWizard   1.0
Create layout wizard.

DevExpress.DeploymentTool   1.0
A useful tool for deploying DevExpress assemblies.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

MicroFour StrataFrame   1.0
VSIntegration package for MicroFour StrataFrame V1

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50730.0
Microsoft SQL Server Data Tools

XtraReports package   1.0XtraReports package
By StrataFrame Team - 9/10/2015

It won't let you install it in 2015 because it thinks it's already installed...

MicroFour StrataFrame   1.0
VSIntegration package for MicroFour StrataFrame V1

6 products from the bottom of your list.  I wonder if it got hung when it couldn't detect the proper .NET version.

Try using Tools -> Extensions and Updates, Installed -> All, Select "MicroFour StrataFrame" and Uninstall it, restart Visual Studio and re-run the VISX and it should let you re-run it on VS2015.
By Buffie - 9/10/2015

I saw it and I will try your solution and I will let you know.

TIA.
By Buffie - 9/10/2015

That worked. 
Now you have more Info about how these things all work.
Thank you again.
By Edhy Rijo - 9/10/2015

Hey Terry, you are also becoming an expert in VISX installation Smile

My guess is that probably you tried installing the first version of the VISX and it crashed, once removed, the new installation finished properly.

Ben, probably later on, you would be able to configure that if the product is already installed, to give us the option to re-install or abort installation.
By StrataFrame Team - 9/10/2015

Ben, probably later on, you would be able to configure that if the product is already installed, to give us the option to re-install or abort installation.


Maybe if we choose to install it through Windows Installer.  I think the only way to get a VISX to update is to increment the version.  It's pretty handy, but pretty limited in customization.
By Buffie - 9/10/2015

I don't know about an expert but I have done my share of installing uninstalling changing and trying many different options. 
I really just hope this saves others time and effort. Then it was all worth it.
Of course I also hope it helps Ben and his team to create the install that will fly no matter what the situations.
Thanks again.
By Edhy Rijo - 9/11/2015

Hi Ben,

I am getting some errors when trying to select a BindingField from the list in a text field, also when trying to access a BO.RequiredFields collection.

Error: "Object reference not set to an instance of an object:"

I am using the following:
VS2015 Enterprise
.Net 4.6
VB.NET

Also, so you know since I installed the VISX in VS2013, I opened another solution in VS2013 and the Type Editors are working fine, so the issue is with VS2015.
By Edhy Rijo - 9/15/2015

Hi Ben,

This issue is a show stopper with VS2015, hope you are available to take a look at this one.

Thanks!!!
By Andrew Harper - 9/15/2015

Hi Ben,

I am getting the same issue as Edhy with VS2015, Windows7 Ultimate.

Also, I got the following error when trying to run the "Create StratFrame Toolbox Tab" menu option



I had to create the toolbox tabs manually.




Best regards,




Andy
By Edhy Rijo - 9/16/2015

Hi Ben,
I am also getting the exception below when clicking on a ComboBox.PopulationDataSourceSettings when trying to populate the Business Objects.  Unfortunately I am not able to setup the List Population due to this exception.

NullReferenceException
  Object reference not set to an instance of an object.

Source     : MicroFour StrataFrame Extensibility

Stack Trace:

   at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.ᜃ()
   at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.GetTypeInternal(String TypeName, IServiceProvider Provider)
   at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.GetMethodsOnTypeForListPopulation(String TypeFullName, IServiceProvider Provider, ListControl ComboToPopulate)
   at MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜃ()
   at MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜁ(Object A_0, EventArgs A_1)
By Buffie - 9/16/2015

I have gotten this before. I even got it when I was using Win 7. I never really knew what to do but I was always able to get by saving and restarting VS a couple of times. I never reported it here since I thought it was a VS problem. I have not had it for some time or I have not used a combobox for a while but just Sunday I used one with Win 8.1 and I be darned if I did not have it. But again I got out of VS a couple of times and it went away. 
By Michael Reese - 9/17/2015

Hi Ben,

I am getting the same issue as the others with VS2015, Windows 10.

Also, I got the following error when trying to run the "Create StrataFrame Toolbox Tab" menu option

By StrataFrame Team - 9/17/2015

Sorry for the delays guys, I've been on vacation.  I will get you a fix.
By Michael Reese - 9/17/2015

Thanks Ben, 

Welcome back. I'm also not seeing the SF templates in VS 2015 new projects. I'm also having deactivation issues. I have a new workstation and de-activated everything online at SF but do not seem to be able to re-activate?

Thanks
By Edhy Rijo - 9/17/2015

Hi Ben,
Ben Chase (9/17/2015)
Sorry for the delays guys, I've been on vacation.  I will get you a fix.

Welcome back Smile
I got the feeling you were not around, hope you can get this working soon.

Thanks and good luck!!!!
By StrataFrame Team - 9/18/2015

The VSIX has been reposted on the other thread off the posted releases section of the forum home page.  It now includes all of the templates, and has the null reference exceptions resolved for the type editors and the create toolbox tab.

Also included are new AddIns and Extensibility assemblies, so you'll need to replace those in the GAC.
By Edhy Rijo - 9/18/2015

Hi Ben,
I installed the VISX file and copied the dlls to the folders suggested and getting an error when loading VS saying this:
"The MicroFour_StrataFrame_PackagePackage" package did not load correctly.

Here is the error entry from the VS ActivityLog.xml file:

 <entry>
    <record>548</record>
    <time>2015/09/18 18:17:52.644</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [MicroFour_StrataFrame_PackagePackage]</description>
    <guid>{0D9A9C3F-5EF0-4D1F-B38E-7BC0918E291D}</guid>
  </entry>
  <entry>
    <record>549</record>
    <time>2015/09/18 18:17:52.656</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [MicroFour_StrataFrame_PackagePackage]</description>
    <guid>{0D9A9C3F-5EF0-4D1F-B38E-7BC0918E291D}</guid>
    <hr>80131513</hr>
    <errorinfo>Method not found: 'Void MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.Initialize(System.IServiceProvider, EnvDTE80.DTE2)'.</errorinfo>
  </entry>


I am on Windows 10 Pro and the way I am updating the dlls in the GAC is by drag them to the C:\Windows\Assemblies folder.  Will try uninstalling them first and then drag the new ones.
By StrataFrame Team - 9/18/2015

Unfortunately, that won't work.  The C:\Windows\Assembly folder is the GAC only for .NET 2.0, and the VSPackage was written in 4.5, so the GAC is in C:\Windows\Microsoft.NET\assembly, and it doesn't have a nice viewer that masks the folders behind it.  You'll have the best luck running a VS2015 Developer Command Prompt and using gacutil -if to install the DLL.
By Edhy Rijo - 9/18/2015

Hi Ben,

Installation error fixed by doing the following:
  1. Run the Developer Command Prompt for VS 2015.
  2. Uninstall assemblies.
  3. Install new assemblies.
Here are the command line I used to uninstall and install the assemblies:



-- Uninstall assemblies first.
gacutil.exe -u "MicroFour StrataFrame AddIns.dll"
gacutil.exe -u "MicroFour StrataFrame Extensibility.dll"

-- Install assemblies from the Common Files folder.
gacutil.exe /i "%CommonProgramFiles(x86)%\MicroFour\StrataFrame\MicroFour StrataFrame AddIns.dll" /f
gacutil.exe /i "%CommonProgramFiles(x86)%\MicroFour\StrataFrame\MicroFour StrataFrame Extensibility.dll" /f




Now back to test SF types in my forms and BOs.
By Edhy Rijo - 9/18/2015

Hi Ben,

I am still getting extensibility errors, please see this video: http://screencast.com/t/x6R7iRiF

I confirmed that both assemblies are now in the C:\Windows\Microsoft.NET\assembly\GAC_32 in their own folders, so they were updated properly with modified date 9/18/2015 2:39 PM date.

What am I missing?
By StrataFrame Team - 9/18/2015

Edhy, I have emailed you new AddIn and Extensibility DLLs.  That error you are receiving is because you don't have an object selected within the Solution Explorer, and the Extensibility was using the currently selected object to obtain the ITypeResolutionService object.  It's not very intuitive, so I have use a different IServiceProvider to retrieve the ITypeResolutionService.  Once you verify that those work, I will repost them on the releases topic so everyone can get them.
By Michael Reese - 9/18/2015

Can someone at SF reset my license? I reinstall.

Thanks
By StrataFrame Team - 9/18/2015

You're reset, Michael.
By Michael Reese - 9/18/2015

Thanks Ben,

Should I wait for you to release another update before continuing?

Michael
By StrataFrame Team - 9/18/2015

Edhy's helping me work through a few final changes to the way the IServiceProvider is access through the new VSPackage.  We're close, but you might still have problems with the VSIX that's currently posted.
By Andrew Harper - 9/22/2015

Hi Ben,

Has there been any progress with the DLLs you emailed to Edhy?

I have just downloaded the posted VSIX and am getting the same error as Edhy when attempting to access the BindingField in the property sheet for a control



Best regards,

Andy





By Michael Reese - 9/24/2015

yeah I was wondering as well??
By Edhy Rijo - 9/28/2015

Hi Ben,
Hope you are around and well.

Please let us know how is this update coming up, we really need to get this issue with the BOM fixed to be able to continue working on our projects.

Thanks!!!
By StrataFrame Team - 9/29/2015

OK, Edhy, the best I can tell from the Intellitrace that you sent me is that the exception is being thrown when the code tries to access the ProjectItem.Name property.  All of VS is COM objects, so that means the __ComObject has become unstable and is throwing that memory corruption exception.   I have not been able to reproduce it here.  The BOMapper writes the partial classes with no problem.  I did however, get a few InvalidOperationExceptions for accessing a disposed object when the timer fires to try to close the results window (we had to add that because VS 2008 had a bug that wouldn't allow you to close the window once it was opened modally).  

So, I have changed the ProjectItem.Name access to use the FileNames collection instead and I posted the updated DLLs back to the sticky thread where the VSIX is posted.

You guys give it a try and let me know how it works.
By Edhy Rijo - 9/29/2015

Hi Ben,

Thanks for the explanation, I will try it right now.

Ben, it is still crashing on me.  Let's clarify where the DLL path should be registered in my system Windows 10 Pro 64 bits.

I have old versions of the AddIns.dll and Extensibility.dll in C:\Windows\assembly

Now, your dlls included in the zip package will be registered in C:\Windows\Microsoft.NET\assembly\GAC_32.  Is this correct or should they replace the ones in C:\Windows\assembly ?
By StrataFrame Team - 9/29/2015

Those are the ones built by the build server, so they are x86, and they will end up in C:\Windows\Microsoft.NET\assembly\GAC_32 after you install them with gacutil.  You might clear out the ones still in C:\Windows\Microsoft.NET\assembly\GAC_MSIL if you have any.  A just for grins, remove the ones from C:\Windows\assembly, since those are the .NET 2.0 ones that will no longer be used.
By Edhy Rijo - 9/29/2015

Hi Ben,

This is DLL hell coming back to me BigGrin

I deleted the dll from here:  C:\Windows\Microsoft.NET\assembly\GAC_MSIL

The ones from
C:\Windows\assembly I am not able to remove or delete, I will get "Access Denied" error.  My guess is that those were installed by the SF setup and windows installers then cannot be removed manually, not even using gacutil /uf or ur, so I think the BOM is actually using those DLLs in C:\Windows\assembly instead of the correct ones installed in C:\Windows\Microsoft.NET\assembly\GAC_32.

I don't know if anybody else is able to reproduce this issue.  Can you verify if you have in your test VM the dlls in
C:\Windows\assembly ?
By StrataFrame Team - 9/29/2015

You can use your VS2015 to debug your VS2015.  When you start up a new session and attach to devenv.exe, check the Modules window.  It will list the location where all of the modules have been loaded.  It shouldn't be pulling from C:\Windows\assembly because that's the .NET 2.0 location, so we probably don't have to worry about removing them.

While you're at it, will you send me the output of the Help -> About Microsoft Visual Studio -> Copy Info?  There might be something in there that could give us a clue as to why you're getting the access violation exception in the BOMapper.

And yes, the GAC solved several things about DLL Hell, but it introduced it's own version of DLL Hades Wink
By Edhy Rijo - 9/29/2015

Hi Ben,

You are right, the assemblies are being loaded correctly from C:\Windows\Microsoft.NET\assembly\GAC_32.

Here is the Exception I got:
System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in MicroFour StrataFrame

AddIns.dll
Additional information: Attempted to read or write protected memory. This is often an indication that

other memory is corrupt.


Here is a video of the error:
http://screencast.com/t/eBbTtgnvgtc

And here is the IntelliTrace file:
www.progytech.com/downloads/sf/devenv_150929_120802.iTrace.zip


Here is the VS About info:

Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA524
Microsoft Architecture and Modeling Tools
   
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc.

in the United States and other countries.

Microsoft Visual Studio Tools for Applications 2015   00322-80000-00000-AA524
Microsoft Visual Studio Tools for Applications 2015

Visual Basic 2015   00322-80000-00000-AA524
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA524
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA524
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA524
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20711.0
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

CodeRush for Visual Studio   15.1.7.0
CodeRush for Visual Studio

Common Azure Tools   1.6
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

CreateLayoutWizard   1.0
Create layout wizard.

DevExpress.DeploymentTool   1.0
A useful tool for deploying DevExpress assemblies.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

MicroFour StrataFrame   1.0
VSIntegration package for MicroFour StrataFrame V1

Microsoft Azure HDInsight HQL Service   2.0.2600.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio   2.0.2600.0
An integrated development environment for HDInsight application development.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601

Microsoft Code Digger   0.9
Microsoft Code Digger

Microsoft.Pex.VisualStudio   1.0
Pex

NuGet Package Manager   3.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50901.0
Microsoft SQL Server Data Tools

SQL Server Integration Services  
Microsoft SQL Server Integration Services Designer
Version 13.0.500.53

Visual Studio Tools for Universal Windows Apps   14.0.23309.00 d14oob
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can

reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10

Software Development Kit.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.11.837.0 (f10676f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.5.3 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.10.4.0 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration

XtraReports package   1.0
XtraReports package
By StrataFrame Team - 9/30/2015

Alright, Edhy, I've been doing a bunch of research on this between yesterday and this morning:

Most will tell you that reinstalling VS or repairing VS will fix it:

http://www.heapoverflow.me/question-nuget-keeps-crashing-visual-studio-2013-30744059
https://bugzilla.xamarin.com/show_bug.cgi?id=27445
https://connect.microsoft.com/VisualStudio/feedback/details/621125/vs-2010-crashes-when-wpf-silverlight-designer-shown

Others will say it's due to the interaction between different add-ins and extensions:

http://stackoverflow.com/questions/9849055/nuget-crashes-vs2010-ultimate
http://stackoverflow.com/questions/13924891/visual-studio-crashes-when-removing-projects-from-c-solution-through-envdte-ad

And this has definitely been a persistent problem:

http://forum.strataframe.net/Topic18722.aspx

And then this one gave me an idea:

https://arildfi.wordpress.com/2006/11/12/ankh-and-accessviolationexceptions/

It's 9 years old, but VS still uses the same stuff internally.  VS has an object model for working with Solutions -> Projects -> ProjectItems -> Sub-ProjectItems and it's possible that there is a ProjectItem hanging around in your object tree that is broken.  It might have been temporarily added by VS and we've held onto the reference, or VS detached the pointer and didn't remove the item from the object model or something, but the item is now stale, and we're trying to access it.  Or it could be a project item that doesn't have a containing project, so it's detached (like an object in a solution folder) or something.  I'm going to comb through the EnvDTE namespace interfaces and see if I can find a way to detect stale objects and ignore them.

In the meantime, will you send me a screenshot of what your solution explorer looks like?  Expand all of the nodes and then use SnagIt or something to do a scrolling screenshot so I can see the whole tree?  Or email me a screen capture video where you scroll through everything expanded.
By Edhy Rijo - 9/30/2015

Hi Ben,
Wow, thanks so much for checking into this and I am sorry, this is happening.

I just sent you a PM with a video link to my Solution Explorer, even though, this BOM error is happening with all my SF Solutions.

I am wonder, if the BOM exe file depends on the .Net 2.0? I may try re-installing that since when I upgraded my computer from Win7 to Win 10, I had to re-run some setups like MS SQL and MS Word and some of the SF assemblies I re-added to the GAC using gacutil.exe.

Edited: 9/30/2015 1:27pm EST
FYI: I repaired the .Net 2.0 setup in my computer, but still BOM is crashing on all SF solutions.
By Edhy Rijo - 10/2/2015

Hi Ben,
FYI, since I still have VS2013 installed, I opened one of my solutions not converted to VS2015 and try to re-build a BO and the BOM crashed at the same point as on VS2015.

Also in VS2013, I disabled the SF Extension and re-activated the old AddIn, I know they both use the same assemblies, well BOM crashed again, so my take is that there must be something in the new assemblies that is causing this crash in any solution in VS2013 & VS2015 in my system.

Is anybody else in this thread able to re-buid BO with the BOM using THE NEW VSIX?
By Buffie - 10/2/2015

I was having issues with the New VSIX so I just reinstalled the old stuff and went back to VS2013 and the old Strataframe. Just could not get the new stuff to work and so I gave up.

By Edhy Rijo - 10/2/2015

Hi Terry,

Buffie (10/2/2015)
I was having issues with the New VSIX so I just reinstalled the old stuff and went back to VS2013 and the old Strataframe. Just could not get the new stuff to work and so I gave up.

Thanks for the confirmation, unfortunately in my case I cannot go back that easy since I already released a version of my application using .Net 4.6 and some of the new stuff in there, so I will have to help Ben replicate this issue so it can be fixed ASAP.  Also I use DevExpress and due to some previous bugs on their code I have to keep the latest version, so we need to move on.
By Buffie - 10/2/2015

I understand. Good luck. If there is anything I can do let me know.
By Michael Reese - 10/3/2015

No luck here.
By Buffie - 10/5/2015

I have a question about DevExpress but I am not sure I should ask it here?
By Edhy Rijo - 10/5/2015

Hi Terry,

Please open a new thread so this one can be dedicated to fix the issue with the support to VS2015.
By Buffie - 10/5/2015

okay. thanks
By StrataFrame Team - 10/6/2015

I have changed several of the methods in the AddIn to test whether the ProjectItem goes stale.  They should be able to test whether the IntPtr to the object is still valid.  If this doesn't work, I'm going to swap out the Project and ProjectItem usage from the old EnvDTE to check the IVsHierarchy, which is what the Solution Explorer now uses to maintain the lists of the project items.  

This should work; I have my fingers crossed.  

I've re-attached the VSIX and DLLs on the sticky thread.
By Edhy Rijo - 10/6/2015

Hi Ben,
I am testing this right now, please don't go anywhere Wow
By Edhy Rijo - 10/6/2015

Sorry Ben, it is still crashing.
By StrataFrame Team - 10/13/2015

Thanks to Edhy for his help letting me remote debug his Visual Studio while we modified the threading on the BOM.

The AccessViolationExceptions that several of you were receiving have been resolved.  The update is posted on the releases thread.
By Edhy Rijo - 10/13/2015

Hi All,

I am happy to inform everybody that today after several long hours today, Ben was able to duplicate the issue in my computer and fixed them all. 

This was one of those issues in which VS was not reporting the right error and throwing us off the track.  Without been able to debug in the computer where error was happening would have been almost impossible to identify this one.

Once Ben realized what was going on, in an hour he got a new build for me to test.

I am so happy we are back on business.  Thanks Ben. Smile

The fixed build is in this thread http://forum.strataframe.net/FindPost33068.aspx
By Joel - 10/13/2015

Thank you Ben.  I really appreciate your effort in finding a solution to this issue.  I also would like to send a thank you to Edhy.  You went above in beyond to help get this resolved.
Blessings,
Joel
By Edhy Rijo - 10/13/2015

You are welcome Joel, and thank you for the considerations.
I have always been a strong believer of the StrataFrame community and even thought for several reasons we have not been able to see new updates for SF, in my view for Windows Form, StrataFrame is one of the most complete framework and better yet, rock solid.  I have applications dealing with millions of records processing and never had a call from a customer reporting a bug like memory leak or crashes due to stability of my applications.

Yes, I can't wait to see anything about SF2.0 but so far, I am very happy with my investment in StrataFrame in the long term.