all groups > visual studio .net ide > june 2007 >
You're in the

visual studio .net ide

group:

reference to class library could not be added


reference to class library could not be added Steve_at_BF
6/15/2007 11:03:01 AM
visual studio .net ide:
I have a Visual Studio application built for the Pocket PC 2003 Device.
It has one VB project in the solution. I want to add a class library to the
solution.
I right-click the VB project file, select Add / New Project / Visual Basic /
Smart Device / Pocket PC 2003 / Class Library (1.0)
The library is created.

I try to create a reference from the VB project to the new Class Library
project by right-clicking the project file and selecting
"Add Reference". In the Projects tab I select the name of the new class
library (that is already displayed there).

I get error: "A reference to '(my class lib name)' could not be added"

How can I create a class library that I can reference from a VB project?

RE: reference to class library could not be added Steve_at_BF
6/15/2007 7:54:02 PM
Solved it. If you are using Dot Net Framework 2.0 then add Class Library NOT
Class Library (1.0)

--
Steve


[quoted text, click to view]
AddThis Social Bookmark Button