dev Split: .Net and WPF

Home Forums Software Development dev Split: .Net and WPF

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of Anders [Tobii] Anders [Tobii] 2 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2123
    Profile photo of yagoub
    yagoub
    Participant

    hi,

    when i add Tobii.EyeX.Client.dll to my solution (it it doesn’t work ) there is not a small blue arrow , like in samples ,

    if you see it , in samples look in explorer solution you will finde the file Tobii.EyeX.Client.dll whith icone in it there is a small blue arrow.. what does it mean ???

    thank’s

    #2126
    Profile photo of Anders [Tobii]
    Anders [Tobii]
    Moderator

    Hi yagoub,
    the small blue arrow on the file in the Visual Studio solution explorer view means that the file is a link. That is, the file doesn’t belong to the C# project, but is referenced from somewhere else.

    To create a link: right-click on the project, choose Add/Add Existing, browse to the file, then click the DOWN ARROW NEXT TO the Add button. There you can choose “Add as link”. Yes, this is one of Visual Studio’s best kept secrets.

    Once you have added the file, open its file properties and make sure that the Build Action is set to Content and Copy to Output Directory is set to Copy if newer. This is actually the critical part; it doesn’t really matter if you add the file as a link or not.

    #2130
    Profile photo of yagoub
    yagoub
    Participant

    ohh thanks Anders you saved my life …

    #2131
    Profile photo of yagoub
    yagoub
    Participant

    hi
    anders

    i have an ather problem it is

    Could not load file or assembly ‘Tobii.EyeX.Client.Net20, Version=1.1.428, Culture=neutral,

    #2167
    Profile photo of Anders [Tobii]
    Anders [Tobii]
    Moderator

    Is this happening at compile time or at run time?

    If at run time: this can happen if you build your app for “Any CPU” and then run it on a 64-bit OS while referencing the 32-bit Tobii.EyeX.Client.Net20.dll.

    Always build for x86 or x64 and reference the appropriate client dll.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.