Hi
Using 2003 - targeting the compact framework (c#), but would like to do most
development using the full.net (manually leaving out stuff not in the
compact framework).
Q. Trying to find a way of converting a project to have builds for both
compact and full. Project properties doesn't seem to help
Thanks
Bob 5 3332
You can build the project against the compact framework and the resulting
assembly will run on the desktop. In other words, assemblies compiled
against the compact framework are retargeted to the full framework when run
on the desktop. So limiting yourself to types and members that exist in both
frameworks and compiling against the compact framework is one way to go.
Another way is to create one full framework project and one compact
framework project and link to the same source files.
--
Tim Wilson
..NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message
news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... Hi
Using 2003 - targeting the compact framework (c#), but would like to do
most development using the full.net (manually leaving out stuff not in the compact framework).
Q. Trying to find a way of converting a project to have builds for both compact and full. Project properties doesn't seem to help
Thanks
Bob
Hi Tim
Thanks for your quick response
Your first suggestion is the one we are trying to do and does work.
Unfortunately can't persuade the IDE to co-operate (!).
Insists in trying to deploy to emulator or real portable device when
debugging. Do you know if there is a way to add .net as a target, the
Configuration manager seems not to offer any target option but the Pocket
PC (and vice versa for a full .net project) - had a look at manually
editing the project files - bit scary :)
Bob
"Tim Wilson" <TIM(UNDERSCORE )WILSON(AT)ROGE RS(PERIOD)COM> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. You can build the project against the compact framework and the resulting assembly will run on the desktop. In other words, assemblies compiled against the compact framework are retargeted to the full framework when run on the desktop. So limiting yourself to types and members that exist in both frameworks and compiling against the compact framework is one way to go. Another way is to create one full framework project and one compact framework project and link to the same source files.
-- Tim Wilson .NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... Hi
Using 2003 - targeting the compact framework (c#), but would like to do most development using the full.net (manually leaving out stuff not in the compact framework).
Q. Trying to find a way of converting a project to have builds for both compact and full. Project properties doesn't seem to help
Thanks
Bob
AFAIK, you *can't* do this in VS .NET 2003. However, you can choose to
simply build (not run or deploy) the solution and then go to the output
directory and run the exe from there. You won't get the automatic debugging
support that VS provides, although I'm sure that you could attach the
debugger to the exe.
A feature to allow this was actually explored in the earlier stages of VS
2005. But it was cut. http://lab.msdn.microsoft.com/Produc...ckId=FDBK19279
--
Tim Wilson
..NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message
news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... Hi Tim
Thanks for your quick response
Your first suggestion is the one we are trying to do and does work. Unfortunately can't persuade the IDE to co-operate (!). Insists in trying to deploy to emulator or real portable device when debugging. Do you know if there is a way to add .net as a target, the Configuration manager seems not to offer any target option but the Pocket PC (and vice versa for a full .net project) - had a look at manually editing the project files - bit scary :)
Bob
"Tim Wilson" <TIM(UNDERSCORE )WILSON(AT)ROGE RS(PERIOD)COM> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. You can build the project against the compact framework and the
resulting assembly will run on the desktop. In other words, assemblies compiled against the compact framework are retargeted to the full framework when run on the desktop. So limiting yourself to types and members that exist in both frameworks and compiling against the compact framework is one way to go. Another way is to create one full framework project and one compact framework project and link to the same source files.
-- Tim Wilson .NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... Hi
Using 2003 - targeting the compact framework (c#), but would like to do most development using the full.net (manually leaving out stuff not in the compact framework).
Q. Trying to find a way of converting a project to have builds for
both compact and full. Project properties doesn't seem to help
Thanks
Bob
Hi Tim
Thanks for the info - saved a lot of hours trying to do the impossible!
Pity it was dropped though, suspect it would have turned out to be one of
the most important features for easy and quick development of compact
framwork products.
Cheers
Bob
"Tim Wilson" <TIM(UNDERSCORE )WILSON(AT)ROGE RS(PERIOD)COM> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. AFAIK, you *can't* do this in VS .NET 2003. However, you can choose to simply build (not run or deploy) the solution and then go to the output directory and run the exe from there. You won't get the automatic debugging support that VS provides, although I'm sure that you could attach the debugger to the exe.
A feature to allow this was actually explored in the earlier stages of VS 2005. But it was cut. http://lab.msdn.microsoft.com/Produc...ckId=FDBK19279
-- Tim Wilson .NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... Hi Tim
Thanks for your quick response
Your first suggestion is the one we are trying to do and does work. Unfortunately can't persuade the IDE to co-operate (!). Insists in trying to deploy to emulator or real portable device when debugging. Do you know if there is a way to add .net as a target, the Configuration manager seems not to offer any target option but the Pocket PC (and vice versa for a full .net project) - had a look at manually editing the project files - bit scary :)
Bob
"Tim Wilson" <TIM(UNDERSCORE )WILSON(AT)ROGE RS(PERIOD)COM> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. > You can build the project against the compact framework and the resulting > assembly will run on the desktop. In other words, assemblies compiled > against the compact framework are retargeted to the full framework when > run > on the desktop. So limiting yourself to types and members that exist in > both > frameworks and compiling against the compact framework is one way to > go. > Another way is to create one full framework project and one compact > framework project and link to the same source files. > > -- > Tim Wilson > .NET Compact Framework MVP > > "bob" <bo*@notthere.c om> wrote in message > news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... >> Hi >> >> Using 2003 - targeting the compact framework (c#), but would like to >> do > most >> development using the full.net (manually leaving out stuff not in the >> compact framework). >> >> Q. Trying to find a way of converting a project to have builds for both >> compact and full. Project properties doesn't seem to help >> >> Thanks >> >> Bob >> >> > >
Yeah, it would have been a nice feature to have supported right out of the
box.
--
Tim Wilson
..NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message
news:dq******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com... Hi Tim
Thanks for the info - saved a lot of hours trying to do the impossible! Pity it was dropped though, suspect it would have turned out to be one of the most important features for easy and quick development of compact framwork products.
Cheers
Bob "Tim Wilson" <TIM(UNDERSCORE )WILSON(AT)ROGE RS(PERIOD)COM> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. AFAIK, you *can't* do this in VS .NET 2003. However, you can choose to simply build (not run or deploy) the solution and then go to the output directory and run the exe from there. You won't get the automatic debugging support that VS provides, although I'm sure that you could attach the debugger to the exe.
A feature to allow this was actually explored in the earlier stages of
VS 2005. But it was cut. http://lab.msdn.microsoft.com/Produc...ckId=FDBK19279 -- Tim Wilson .NET Compact Framework MVP
"bob" <bo*@notthere.c om> wrote in message news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... Hi Tim
Thanks for your quick response
Your first suggestion is the one we are trying to do and does work. Unfortunately can't persuade the IDE to co-operate (!). Insists in trying to deploy to emulator or real portable device when debugging. Do you know if there is a way to add .net as a target, the Configuration manager seems not to offer any target option but the Pocket PC (and vice versa for a full .net project) - had a look at manually editing the project files - bit scary :)
Bob
"Tim Wilson" <TIM(UNDERSCORE )WILSON(AT)ROGE RS(PERIOD)COM> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. > You can build the project against the compact framework and the resulting > assembly will run on the desktop. In other words, assemblies compiled > against the compact framework are retargeted to the full framework
when > run > on the desktop. So limiting yourself to types and members that exist
in > both > frameworks and compiling against the compact framework is one way to > go. > Another way is to create one full framework project and one compact > framework project and link to the same source files. > > -- > Tim Wilson > .NET Compact Framework MVP > > "bob" <bo*@notthere.c om> wrote in message > news:dq******** **@nwrdmz03.dmz .ncs.ea.ibs-infra.bt.com... >> Hi >> >> Using 2003 - targeting the compact framework (c#), but would like to >> do > most >> development using the full.net (manually leaving out stuff not in
the >> compact framework). >> >> Q. Trying to find a way of converting a project to have builds for both >> compact and full. Project properties doesn't seem to help >> >> Thanks >> >> Bob >> >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dharmendra Singh |
last post by:
Hi
I'm using .Net(C#) and working on the form(Screen) which have text boxes
for both arabic and english data to store. So i want to change the language
at run time from arabic to english and vice-versa, when the control moves
from one text box to another.
Regards
Dharmendra
|
by: Chris Gordon-Smith |
last post by:
I am tying to call a Pascal function from C++, and vice versa.
Does anyone know how to do this, or where detailed information on this topic
can be found?
For the C++ to Pascal call I have tried declaring the Pascal function as:-
extern "C" void PASCALTESTFUNC1();
within my C++ code. However, the linker is giving me an unresolved
|
by: Protoman |
last post by:
How do I call assembly code from C++ code and vice versa? Thanks for
the help!!!
|
by: Steve - DND |
last post by:
Just wondering if anyone out there has any code to convert a plural word to
it's singular form and vice versa. Most of our database tables are named in
a plural fashion. When we go to create templates to select a single record,
we end up with a class name that sounds as if it's a collection instead of
just one data object. Just wondering if anyone has a nice workaround. I
started working on something, but it quickly turned into a large...
|
by: Urs Vogel |
last post by:
Hi
What's sthe best approach to convert char or char* strings to a BSTR and
vice versa? I would like to omit OLE2A macros and allocate the memory
myself, or is the the only way? Any hints?
Thanks, Urs
| |
by: rz0 |
last post by:
Hi all,
This is a question about both C89 and C99 and is based on my partial
reading of the standard drafts (one from before C89 but mainly
N1124). If appropriate, please give a separate answer for each version
of the language.
Let's consider the conversion from a given floating real type to a
specific integer type.
|
by: yabansu |
last post by:
Hi all,
I think most of you probably know the two .NET framework functions, namely Encoding.GetBytes(string) and Encoding.GetString(byte), to convert string into byte array and vice versa.
Now, I want to do the same thing in pure(unmanaged) C++.
I searched the Internet but could not find any satisfactory solutions. I am really in need of help! Is there anyone to explain how I can implement these functions by not using .NET library?
...
|
by: Astan Chee |
last post by:
Hi,
I have a string in this format "DD/MM/YYY" for example:
tdate = "18/01/1990"
and Im trying to convert this to epoch time, can anyone help?
Im also trying to convert that epoch time to the string format
previously. Can anyone help this one too?
Thanks!
Astan
|
by: victory2006 |
last post by:
like we have an integer value of : 9
and i need to convert it to binary numbers
and vice versa, thanks!
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |