Template:PT3 CSHARP LNX MONO: Difference between revisions
From Phidgets Support
No edit summary |
No edit summary |
||
Line 68: | Line 68: | ||
link the Phidget .NET library. | link the Phidget .NET library. | ||
</p> | </p> | ||
<p>The easiest way to allow Mono to access the Phidgets .NET library is to place a copy of the Phidget22.NET dll in the same folder as your program.</p> | |||
<p> | <p> | ||
First, determine which version of the .NET Framework your version of Mono implements by checking the | |||
<span>[https://www. | <span>[https://www.mono-project.com/docs/about-mono/releases/ Mono Release Documentation]</span>. | ||
</p> | </p> | ||
<p> | |||
Next, download the <span>[https://www.phidgets.com/downloads/phidget22/libraries/windows/Phidget22-windevel.zip Phidget22 Development Libraries]</span>, which | |||
contain dlls for each .NET version. | |||
</p> | |||
<p> | |||
Navigate in the zip file to /lib/dotnet/netXX where 'XX' is your .NET Framework version (for example, net46 for .NET 4.6), and grab the Phidget22.NET.dll from | |||
that folder. | |||
</p> | |||
</div> | |||
<div class="phd-slide"> | |||
<h2>Setting up a New Project</h2> | |||
<p>Move the Phidget22.NET.dll you extracted into the same folder as your program.</p> | |||
<p>Your project directory should now look like this:</p> | <p>Your project directory should now look like this:</p> |