Re: OpenNETCF and SetWirelessSettings
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 7 Jun 2006 11:12:10 -0700
Yes, generally you'd do this by making a C# ClassLibrary project to be added
to your workspace for the program. In this case, however, there are
internal classes which the Adapter.cs file can't access when compiled
outside of the namespace where it was designed to go. As I said, I wasn't
sure that it would work. Other than getting the source or waiting for the
next update of the binaries, I don't see a solution. Maybe someone who
knows more about the VS build system can recommend a way to get around
this...
Paul T.
"Kent Briggs" <kbriggs@xxxxxxxxxxx> wrote in message
news:NtEhg.19129$bk5.11121@xxxxxxxxxxxxxxxxxxxxxxx
Paul G. Tobey [eMVP] wrote:
That, as it turns out, is irrelevant. One of the nice capabilities of
the managed code scheme is that you can freely mix and match development
languages. If you add a .cs file to your project, it gets compiled just
like a .vb file does.
How do I do that exactly? With my VB project loaded, I can select
Project/Add_Existing_Item, and select the Adapter.cs file, but it just
adds it as a text file to my VB project. If I change the Build Action to
"Compile" then it just generates syntax errors on every line since it's
expecting VB code.
--
Kent Briggs, kbriggs@xxxxxxxxxxx
Briggs Softworks, http://www.briggsoft.com
.
- Follow-Ups:
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- References:
- OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- From: Paul G. Tobey [eMVP]
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- From: Paul G. Tobey [eMVP]
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- From: Paul G. Tobey [eMVP]
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- Re: OpenNETCF and SetWirelessSettings
- From: Paul G. Tobey [eMVP]
- Re: OpenNETCF and SetWirelessSettings
- From: Kent Briggs
- OpenNETCF and SetWirelessSettings
- Prev by Date: Re: TouchPanel
- Next by Date: Re: OpenNETCF and SetWirelessSettings
- Previous by thread: Re: OpenNETCF and SetWirelessSettings
- Next by thread: Re: OpenNETCF and SetWirelessSettings
- Index(es):
Relevant Pages
|