Page 1 of 1

Can't run the examples under VS2010

Posted: Wed Jul 11, 2012 6:10 pm
by mworks
I want to begin in VB.net and learn with the provided examples. I have MS VS2010 and I keep having build errors. I am running 7 x64. I followed all the procedures but I can't figure out the problem. BTW, VS converts the project before opening it.

Thanks

Re: Can't run the examples under VS2010

Posted: Thu Jul 12, 2012 7:37 am
by burley
What sort of errors are you getting?

Re: Can't run the examples under VS2010

Posted: Fri Jul 13, 2012 1:44 pm
by mworks
Here's the error if I open the Hello World example:

------ Build started: Project: Hello World, Configuration: Debug Any CPU ------
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(15) : error BC30002: Type 'Phidgets.Events.AttachEventArgs' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(23) : error BC30002: Type 'Phidgets.PhidgetException' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(28) : error BC30002: Type 'Phidgets.Events.DetachEventArgs' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(36) : error BC30002: Type 'Phidgets.PhidgetException' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(41) : error BC30002: Type 'Phidgets.Events.ErrorEventArgs' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(55) : error BC30002: Type 'Phidgets.Manager' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(60) : error BC30002: Type 'Phidgets.Manager' is not defined.
C:\Users\Mworks\Documents\Phidgets\VB.net\VBNET\Hello World\Module1.vb(77) : error BC30002: Type 'Phidgets.PhidgetException' is not defined.
Build started 13/07/2012 3:40:18 PM.
ResolveAssemblyReferences:
Primary reference "Phidget21.NET, Version=2.1.8.95, Culture=neutral, PublicKeyToken=c2b1f2a3594bce52, processorArchitecture=MSIL".
c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Phidget21.NET, Version=2.1.8.95, Culture=neutral, PublicKeyToken=c2b1f2a3594bce52, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Phidget21.NET.dll", but it didn't exist.
Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Phidget21.NET.exe", but it didn't exist.

... There's about 40 other lines about the phidget21.net.dll missing

thanks