Integrating view parts

I have copied the sample code for "Integrating view parts inside an existing SDL Trados Studio view" into an empty project and I am getting an error. In the last line of code, the Lazy<T> initialisation, I have a red wiggly line under all three instances of "MyProjectViewPartControl"

I have all the references required by the sample code but are there any others needed?

Ben

Parents Reply
  • Hi Jesse,

    Thanks for the tip. I have added the control and the red underline is no longer there.

    As you suggested, I looked at the samples in the SDK and wanted to step through the code, so I set a breakpoint and hit F5. I got an error message saying that I needed to include an exe and get it to reference the dll and make this my start up object. But in properties > application the drop down list for the start up object was empty and it would not accept any typed input. Any ideas how I can debug the dll? I'm brand new to coding in C# and still finding my way around, so sorry if the questions seem a bit dumb.

    Ben
Children