public ParadoxCommandsProxy() { AppDomain.CurrentDomain.AssemblyResolve += ParadoxDomainAssemblyResolve; var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands"); remote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands"); }
public XenkoCommandsProxy() { AppDomain.CurrentDomain.AssemblyResolve += XenkoDomainAssemblyResolve; if (CurrentPackageInfo.IsLegacy) { var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands"); legacyRemote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands"); } else { var assembly = Assembly.Load("SiliconStudio.Xenko.VisualStudio.Commands"); remote = (IXenkoCommands)assembly.CreateInstance("SiliconStudio.Xenko.VisualStudio.Commands.XenkoCommands"); } }
public ParadoxCommandsProxy() { var assembly = Assembly.Load("SiliconStudio.Paradox.VisualStudio.Commands"); remote = (IParadoxCommands)assembly.CreateInstance("SiliconStudio.Paradox.VisualStudio.Commands.ParadoxCommands"); }