WinForms Custom Control and Microsoft.Kinect.dll RRS feed

  • Question

  • Hi All,

    We have Winform Custom Control derived from System.Windows.Forms.Control with Kinect support. The project references the Microsoft.Kinect.dll, of course.

    Not all machine are Kinect ready (Kinect runtime installed), by the way we can successfully install our control in the Visual Studio toolbox using DTE (similar to and as far as nobody uses Kinect functionalities nothing strange happens.

    The problem is that if we try to do Add Item manually or simply to drag & drop the DLL on the Visual Studio Toolbox and error occurs saying that the Microsoft.Kinect.DLL was not found. We need to copy the Microsoft.Kinect.dll manually side by side to the custom control DLL do manual toolbox installation and then delete the DLL forever.

    Why does it happens? Why using DTE the problem is not present? Is there any workaround to avoid it? Can something be done at Visual Studio or Kinect DLL level?



    Friday, November 9, 2012 10:43 AM