Home Forums Software Development [Solved] BadImageFormatException: Reply To: [Solved] BadImageFormatException:

#7265
良治
Participant

\packages\Tobii.Interaction.0.7.3\build\AnyCPU\Tobii.EyeX.Client.dll 849KB
\packages\Tobii.Interaction.0.7.3\build\x64\Tobii.EyeX.Client.dll 1,275KB
\packages\Tobii.Interaction.0.7.3\build\x86\Tobii.EyeX.Client.dll 849KB

I find the following lines in my csproj file when AnyCPU config. Only one line for import section.

<Reference Include=”Tobii.Interaction.Model, Version=0.7.3.333, Culture=neutral, PublicKeyToken=70326046dcdce6cb, processorArchitecture=MSIL”>
<HintPath>..\packages\Tobii.Interaction.0.7.3\lib\net45\Tobii.Interaction.Model.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include=”Tobii.Interaction.Net, Version=0.7.3.333, Culture=neutral, PublicKeyToken=70326046dcdce6cb, processorArchitecture=MSIL”>
<HintPath>..\packages\Tobii.Interaction.0.7.3\lib\net45\Tobii.Interaction.Net.dll</HintPath>
<Private>True</Private>
</Reference>

<Import Project=”..\packages\Tobii.Interaction.0.7.3\build\Tobii.Interaction.targets” Condition=”Exists(‘..\packages\Tobii.Interaction.0.7.3\build\Tobii.Interaction.targets’)” />

I will try today to rebuild my project from scratch as 64bit app from the beginning.