Method | Description | |
---|---|---|
FindAllVersions ( ) : IEnumerable |
Finds all installed Visual Studio versions.
|
|
Load ( System.Version vsVersion ) : void |
Initializes the assembly loader with the specified version of Visual Studio.
|
|
LoadLatest ( ) : void |
Initializes the assembly loader with the latest installed version of Visual Studio.
|
Method | Description | |
---|---|---|
CurrentDomain_AssemblyResolve_Roslyn ( object sender, |
||
CurrentDomain_AssemblyResolve_VS ( object sender, |
||
GetInstallationDirectory ( System.Version version ) : string |
Gets the installation directory for the specified version.
|
|
GetSkuVersions ( string sku ) : IEnumerable |
||
LoadResourceDll ( |
||
TryLoadInteropAssembly ( string installDirectory ) : bool |
The interop assembly isn't included in the GAC and it doesn't offer any MEF components (it's just a simple COM interop library). Hence it needs to be loaded a bit specially. Just find the assembly on disk and hook into the resolve event. Copied from @JaredPar's EditorUtils.
|
public static FindAllVersions ( ) : IEnumerable |
||
return | IEnumerable |
public static Load ( System.Version vsVersion ) : void | ||
vsVersion | System.Version | |
return | void |