Class problem

M

marcmc

I have built a class and referenced it in my project ,
when I goto build my solution that basically tests the
class(I have a fair idea that the class works!) i get the
following? Don't know what it means, what can I do?

Error: The dependency 'mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=969db8053d3322ac' in
project 'ErrorClassTest' cannot be copied to the run
directory because it would conflict with
dependency 'mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Error: The dependency 'mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' in
project 'ErrorClassTest' cannot be copied to the run
directory because it would conflict with
dependency 'mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=969db8053d3322ac'.
 
M

marcmc

please chris can you ellaborate, i have only referenced
my class and a few other things like sqlce, here's the
list:


Imports Mentec.ErrorHandlerClassLib
Imports OpenNETCF.WinAPI.Core
Imports System.Xml
Imports System.IO
Imports System.Data.SqlServerCe
Imports System.Data.SqlClient
Imports System.Net
Imports System.Text
Imports System.Reflection.Assembly
Imports System.Version
Imports System.Threading
Imports Microsoft.VisualBasic

what can i do to run a sucessful build?
 
P

PeterB

What Chris means is that you are referencing the full .NET Framework in your
application. Look at the MSCorLib reference under Solution
Explorer->References. It should point to the Compact Framework MSCorLib,
located something like this:

.... path to visual studio ... \Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\MSCorLib.dll

Is this what you see?

/ Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top