Skip to content

Impertatore/Studio-AssemblyResolver

 
 

Repository files navigation

Studio-AssemblyResolver

This library is build to help SDL Studio developers who are wokring on standalone plugins. One of the limitation for this type of plugins is the fact that is has to be deployed in the same folder with Studio. This is caused by the fact that Studio SDK requires assembly that are available only in that location

##How it works?

The library uses AppDomain class to obtain the current domain and register to AssemblyResolve event. This event is triggered for each assembly that is needed by the application. The library has also a mechanism to resolve the path to the Studio installation folder. Once it determines the Studio installation path is looking in that place after the required assembly.

##Studio path resolve

In order to get Studio install path the library looks in Program Files\SDL\ ... or in the registry. If you would like to provide a different path resolver you can implement IPathResolve interface and use the following syntax:

AssemblyResolver.WithPathResolver(pathResolvers).Resolve();

##Contribution

You want to add a new functionality or you spot a bug please fill free to create a pull request with your changes.

##Development Prerequisites

##Issues

If you find an issue you report it here.

About

Assembly resolver for SDL Studio standalone applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%