Re: Separating business logic

From: Peter Foot [MVP] (feedback_at_no-spam.inthehand.com)
Date: 09/06/04


Date: Mon, 6 Sep 2004 11:32:26 +0100

Your library project must be created using the Smart Device Application
project type and then selecting the Class Library sub type. Creating a Class
Library project from the New Projects dialog will create a desktop dll
project which cannot be used in device projects.

Peter

-- 
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups?  Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
"John" <a@b.com> wrote in message 
news:%23%23FAPj$kEHA.644@tk2msftngp13.phx.gbl...
> Hi all,
>
> I'm attempting to separate my business logic from the presentation (i.e.
> class library). I include a reference to the System.Data.SQLServerCE
> namespace because this particular library is going to use the database on
> the device. I then add it to my main app in references.
>
> The problem I have is when I attempt to build my main app, I receive an
> error
>
> "Error: The dependency 'mscorlib, Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=969db8053d3322ac' in project 'BMEStock' cannot be copied to
> the run directory because it would conflict with dependency 'mscorlib,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
>
> How do I work around this?
>
>
> Regards
> John.
>
>