[dba-VB] Compiling Class Library

Charlotte Foust cfoust at infostatsystems.com
Thu Jan 10 14:31:29 CST 2008

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?


dba-VB mailing list
dba-VB at databaseadvisors.com

More information about the dba-VB mailing list