Vicky D
10/17/2022, 3:26 AMcustom model for tooling API. (Simple example is to get the list of all the plugins applied to a project)
What works: Define a model, create a custom plugin to register the model, and then from a sample project, create the ProjectConnection, and invoke the method on the model interface for a sample project.
• Plugin to register the model
• Invocation
What does not work:
Rather than having a plugin just to register the model, I am trying to add a task to that plugin, getPlugins, and invoking the same thing I was invoking from invocation (above). But here is where it throws the error: No model of type 'CustomModel' is available in this build
• Plugin with model registration and task definition to invoke the method on model
Is it not possible to register a model and define a task that will create the ProjectConnection in the same plugin? What am I understanding incorrectly? I could not find clear documentation about it.