scottdurow / SparkleXrm

An open-source library for building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
MIT License
264 stars 194 forks source link

Class RegEx not detecting new custom interfaces #464

Open Power-Maverick opened 1 year ago

Power-Maverick commented 1 year ago

We have created custom interfaces that implements IPlugin through PluginBase. We are implementing these interfaces on the plugins. My current config looks like this:

{
  "plugins": [
    {
      "profile": "default,debug",
      "assemblypath": "bin\\Debug",
      "solution": "MyCustomAssemblies",
      "classRegex": "(public( sealed)? class ([\\w]*) : ((ICreate)|(IUpdate)|(PluginBase)|(IPlugin)))"
    }
  ]
}

Our class definition is as follows:

public class PostOperation : ICreate

Can you help us identify the right way to create the RegEx?

I used regex101.com to create this one which shows a match. image