1
Vote

Plugin Script Issue

description

I have been trying to write a simple plugin script using the Eclipse Scripting API, but consistently run into the same issue. When I try to add any user controls or additional windows to my program I get the following error.

CS0246: The type or namespace name "(namespace of my user control/window)" could not be found (are you missing a using directive or an assembly reference?)

The error is not displayed in Visual Studio, only when I try to run the scripts from eclipse.

I have tried using various using statements as well as assembly references, but don't think this should be necessary as the namespace being referenced is in the same project. I have replicated examples which work for other users and get the same error.

I have been able to write standalone scripts without this issue. I know that the version of Eclipse I am using is slightly dated, could this be the source of the issue? Or do I have a fundamental misunderstanding of how I can write a plugin script and should not be trying to create new windows or user controls in the first place?

Thanks in advance for any help.

comments