Method Compile
Compile(string, string)
Compiles a plugin given as a folder with a .csproj into an assembly and its PDB, or takes them from the cache where the project and its sources are unchanged since they were last compiled. This loader cannot (CanCompile is false).
public virtual CadPluginBuild Compile(string name, string projectPath)
Parameters
namestringThe plugin's name, which names its folder in the cache.
projectPathstringThe full path of the plugin's .csproj; its folder holds the sources.
Returns
- CadPluginBuild
The assembly built, or the errors that kept it from being built.
Exceptions
- NotSupportedException
Always: this loader compiles nothing.