Skip to content

Problem loading plugin in same solution #9

@JeanSebTr

Description

@JeanSebTr

Hi,

I've developed a SharpKit plugin for adding AngularJS's DI annotation to our outputed JavaScript classes. It works wonderfully using the SharpKit service and copying the plugin's dll into SharpKit's install directory.

The problem is with the nuget version of SharpKit. I have a sln with 3 projects :

  • Angular interfaces definitions
  • the skc plugin
  • our web application itself

The first two csproj run without any issues but for the last, skc can't find the plugin's dll.
The culprit seems to be CompilerTool.cs#L422 which can't find the plugin if it's not in the same directory as skc.

We're still evaluating SharpKit for our project and having the possibility to seamlessly restoring nuget packages and compile the sln would be a big advantage.

Would it makes sense to add a parameter to to specify the dll path ?
If yes, I could work on a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions