PC Review


Reply
Thread Tools Rate Thread

Copy Local Build Error

 
 
=?Utf-8?B?c2t5c2FpbG9y?=
Guest
Posts: n/a
 
      29th May 2005
I'm using VS 2003 to build a C# program for PocketPC.
I'm using the OpenNetCF framework.
My solution has a reference to the assemblies OpenNETCF and
OpenNETCF.Windows.Forms.
If I set the property Copy Local to true for those two references it will
build without errors and those DLL files will be copied into the output
directory.
But if I close the project and then reopen it and buid (without making any
changes) it now gives a build error :-
"The type or namespace name 'OpenNETCF' could not be found (are you missing
a using directive or an assembly reference?)"
I get this error on the line :-
using OpenNETCF;
in every file.
Any help would be appreciated.
Thanks

 
Reply With Quote
 
 
 
 
Sergey Bogdanov
Guest
Posts: n/a
 
      29th May 2005
This problem can be caused because you have no OpenNETCF.dll in the
directory:
....Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE

The VS.NET2003 looks for this library in this directory thus make sure
that you have it there.

--
Sergey Bogdanov
http://www.sergeybogdanov.com


skysailor wrote:
> I'm using VS 2003 to build a C# program for PocketPC.
> I'm using the OpenNetCF framework.
> My solution has a reference to the assemblies OpenNETCF and
> OpenNETCF.Windows.Forms.
> If I set the property Copy Local to true for those two references it will
> build without errors and those DLL files will be copied into the output
> directory.
> But if I close the project and then reopen it and buid (without making any
> changes) it now gives a build error :-
> "The type or namespace name 'OpenNETCF' could not be found (are you missing
> a using directive or an assembly reference?)"
> I get this error on the line :-
> using OpenNETCF;
> in every file.
> Any help would be appreciated.
> Thanks
>

 
Reply With Quote
 
=?Utf-8?B?c2t5c2FpbG9y?=
Guest
Posts: n/a
 
      30th May 2005
The OpenNetCF.dll is in that directory. And the reference is pointing to that
directory.
As I said, when I first set the Copy Local to true for the reference it will
build without any errors. It is only after I close and reopen Visual Studio
that I get the error. Nothing has changed in the project between closing
visual studio and starting it again yet the project will not build. Why?

"Sergey Bogdanov" wrote:

> This problem can be caused because you have no OpenNETCF.dll in the
> directory:
> ....Microsoft Visual Studio .NET
> 2003\CompactFrameworkSDK\v1.0.5000\Windows CE
>
> The VS.NET2003 looks for this library in this directory thus make sure
> that you have it there.
>
> --
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> skysailor wrote:
> > I'm using VS 2003 to build a C# program for PocketPC.
> > I'm using the OpenNetCF framework.
> > My solution has a reference to the assemblies OpenNETCF and
> > OpenNETCF.Windows.Forms.
> > If I set the property Copy Local to true for those two references it will
> > build without errors and those DLL files will be copied into the output
> > directory.
> > But if I close the project and then reopen it and buid (without making any
> > changes) it now gives a build error :-
> > "The type or namespace name 'OpenNETCF' could not be found (are you missing
> > a using directive or an assembly reference?)"
> > I get this error on the line :-
> > using OpenNETCF;
> > in every file.
> > Any help would be appreciated.
> > Thanks
> >

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy local users and groups, copy shares with security, copy homeuser folders usenet@sphere10.com Microsoft Windows 2000 Active Directory 1 17th Feb 2009 01:31 PM
Copy local users and groups, copy shares with security, copy homeuser folders usenet@sphere10.com Windows Vista General Discussion 2 17th Feb 2009 01:31 PM
The Next Build Shall be RTM guys not any other builds unless MS decides to do one more build because of bugs before RTM RC2 build 5477 is the last build before RTM Drew Windows Vista General Discussion 8 13th Oct 2006 12:41 AM
UnSpecified Build Error(s) stopping 'Build Cab File' process cdg Microsoft Dot NET Compact Framework 2 3rd Feb 2005 08:48 PM
FrontPage 2000: Error importing zip file to local copy of web Bill Eckert Microsoft Frontpage 8 18th Sep 2003 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 AM.