Office Solution Loader

This actually contains two loaders a runtime loader and a soluton loader.


Runtime Loader - (VSTOEE.dll) This runs first to check that the correct version of the VSTO runtime is installed and loaded for the version of Office that is loading the add-in or document level solution.
VSTOEE stands for Visual Studio Tools for Office Execution Engine.
Although multiple versions of the VSTO runtime can be installed on the same computer, only one instance of the VSTOEE.dll is used.

C:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\ VSTOEE.dll 
C:\Program Files\Common Files\Microsoft Shared\VSTO\ VSTOEE.dll

Solution Loader - (VSTOLoader.dll) This loads the actual solution after checking that the solution assembly is installed and loading correctly.
This creates a new application domain for the solution. It also performs the necessary security checks to verify that the solution has permission as well as loading the corresponding Office Extensions for .NET Framework that is also required.
It implements the IDTExtensibility2 interface which is a COM interface that all Office add-ins must implement.
It also implements the IManagedAddin interface which was introduced in Office 2007.

C:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\10.0\ VSTOLoader.dll 
C:\Program Files\Common Files\Microsoft Shared\VSTO\10.0\ VSTOLoader.dll

Application Level Loading

Visual StudioOfficeRuntimeSequence
2022, 2019, 20172016 (16)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2015 (14)2016 (16)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2013 (15)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2013 (12)2013 (15)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2012 (11)2013 (15)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2010 (10)2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2007 (12)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2008 (9)2007 (12)2008 Runtime (v3)AddinLoader.dll > VSTORuntime.dll > solution
 2003 (11)2008 Runtime (v3)AddinLoader.dll > VSTORuntime.dll > solution
2005 (8)2003 (11)2008 Runtime (v3)AddinLoader.dll > VSTORuntime.dll > solution

Document Level Loading

Visual StudioOfficeRuntimeSequence
2015 (14)2016 (16)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2013 (15)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2013 (12)2013 (15)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2012 (11)2013 (15)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2010 (10)2010 (14)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
 2007 (12)2010 VSTO Runtime (v4)VSTOEE.dll > VSTOLoader.dll > solution
2008 (9)2007 (12)2008 Runtime (v3)VSTOEE.dll > VSTOLoader.dll > solution
 2003 (11)2008 Runtime (v3)VSTOEE.dll > VSTOLoader.dll > solution
2005 (8)2007 (12)2005 SE Runtime (v2)Otkloadr.dll > VSTOLoader.dll > VSTORuntime.dll > solution
 2003 (11)2005 SE Runtime (v2)Otkloadr.dll > VSTOLoader.dll > VSTORuntime.dll > solution

Other Assemblies

mscoree.dllMSCOREE stands for Microsoft .Net Runtime Execution Engine
 This file is a shim loader used for all COM add-ins
 This file is not a signed com dll
 This file provides a proxy (or front end interface) to allow a .NET assembly to be loaded into a COM client application
 This file acts as a go-between the .NET CLR and the COM Client and uses the other string values of the InprocServer32 key (Assembly and Class) to internally load the appropriate assembly and identify which class to instantiate)
 *** link to COM Interop ***
  
 (Visual Studio 2005, Office 2003).
 C:\Windows\System32\mscoree.dll
 C:\Winnt\System32\mscoree.dll
  
VSTODesigner.dllC:\Program Files\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\vspkgs\
 C:\Program Files\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\vspkgs\
 C:\Program Files\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\vspkgs\
  
VSTODesignerUI.dllC:\Program Files\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\vspkgs\1033\
  
VSTOExcelAdapter.dllVisual Studio Tools for Office Designer Time Adapter for Excel
 C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\x86\
 Appears in the COM Add-Ins dialog box Excel 2013
  
VSTOWordAdapter.dllVisual Studio Tools for Office Designer Time Adapter for Word
 C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\x86\
 Appears in the COM Add-Ins dialog box Word 2013
  
VSTOInstaller.exeThis is the office solution installer tool and can be used to create custom installer programs.
 If you create a custom setup program for your Office solution you can call the Office Solution installer tool as part of the process.
 C:\Program Files\Common Files\Microsoft Shared\VSTO\10.0\ VSTOInstaller.exe
  
VSTORuntime.dllThis file was part of the 2005 VSTO Runtime (v2) and was used to load VSTO solutions and was introduced in Visual Studio 2005.
 C:\Program Files\Common Files\Microsoft Shared\VSTO\8.0\ VSTORuntime.dll
  
AddinLoader.dllThis file was part of the 2005 VSTO Runtime (v2) and was used to load COM add-ins and was introduced in Visual Studio 2005.
 This can load a managed add-in without the problems associated with the mscoree.dll.
 The file starts the CLR, the application manifest and the VSTO runtime and then loads the assembly for the add-in.
 The add-in is not loaded into the default application domain; instead each add-in is loaded into a separate application domain and because this isolates individual add-ins it improves the stability of the VSTO addins.
 This Provides an automatic shim between the application and the add-in.
 C:\Program Files\Common Files\Microsoft Shared\VSTO\8.0\ AddinLoader.dll
  
VSTOActionsPaneEngine.dllC:\Program Files\Common Files\Microsoft Shared\VSTO\8.0\ VSTOActionsPaneEngine.dll
  
VSTORuntimeStorageCtrl.dllC:\Program Files\Common Files\Microsoft Shared\VSTO\8.0\ VSTORuntimeStorageCtrl.dll
  
VSTOStorageWrapper.dllC:\Program Files\Common Files\Microsoft Shared\VSTO\8.0\ VSTOStorageWrapper.dll
  
OTKloadr.dllThis was used for document level solutions in Office 2003

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext