.dll file importeren in VB project

Status
Niet open voor verdere reacties.

111milan111

Gebruiker
Lid geworden
10 jan 2009
Berichten
29
Hoi,

Als ik een .dll file wil importeren via Project -> add reference en dan het project wil builden krijg ik de volgende errors

Warning 1 The referenced assembly "YouTubeLib" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. youtube
Warning 2 Namespace or type specified in the Imports 'YouTube.Youtube' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. C:\Documents and Settings\Ron\Mijn documenten\Visual Studio 2010\Projects\youtube\youtube\Form2.vb 4 9 youtube
Error 3 Type 'YouTube.YouTube' is not defined. C:\Documents and Settings\Ron\Mijn documenten\Visual Studio 2010\Projects\youtube\youtube\Form2.vb 9 19 youtube
Error 4 Type 'YouTube.YouTube' is not defined. C:\Documents and Settings\Ron\Mijn documenten\Visual Studio 2010\Projects\youtube\youtube\Form2.vb 27 23 youtube

Alvast bedankt,
Milan
 
Probeer eens helemaal bovenaan je code dit te typen?

Code:
Imports Youtube

Of

Code:
Imports YouTube.YouTube
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan