Can't run the examples under VS2010

Supporting Visual Studio on Windows
mworks
Fresh meat
Posts: 4
Joined: Wed Jul 11, 2012 5:52 pm
Contact:

Can't run the examples under VS2010

Postby mworks » Wed Jul 11, 2012 6:10 pm

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

User avatar
burley
Human-Cyborg Relations
Posts: 441
Joined: Tue Sep 27, 2011 2:37 pm
Location: Calgary
Contact:

Re: Can't run the examples under VS2010

Postby burley » Thu Jul 12, 2012 7:37 am

What sort of errors are you getting?
Brian Burley
403-282-7335 ext. 6003
support@phidgets.com

mworks
Fresh meat
Posts: 4
Joined: Wed Jul 11, 2012 5:52 pm
Contact:

Re: Can't run the examples under VS2010

Postby mworks » Fri Jul 13, 2012 1:44 pm

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


Return to “VB .NET”

Who is online

Users browsing this forum: wuhuilin11 and 1 guest