[dba-VB] Compiling Class Library

Gustav Brock Gustav at cactus.dk
Fri Jan 11 08:29:41 CST 2008


Hi Charlotte

True, but I had to do some debugging which required minor changes to the library which, by the way, is not used by any other project.

/gustav

>>> cfoust at infostatsystems.com 10-01-2008 21:31:29 >>>
I don't know if you CAN get rid of the message.  You can't run a class
library or any class directly, so the message is accurate.   You're
editing a class library referenced in the other solution/project you
have open and trying to immediately reflect those changes.  I stopped
trying that after the first time.

Charlotte Foust

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com 
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Thursday, January 10, 2008 9:19 AM
To: dba-VB at databaseadvisors.com 
Subject: [dba-VB] Compiling Class Library

Hi all

In VS2005 I have a project with a reference to Class Library.

When I have both opened in two sessions of VS and editing both, I've
found that I have to run Debug (F5) in the Class Library to have changes
reflected at once in the main project.
That's fine, but when I do so, the Class Library pops an error message
that - of course - a "Class Library cannot be started directly".

How can I get rid of this error message? Or am I doing this in an
unauthorized way?

/gustav





More information about the dba-VB mailing list