473,396 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Shared Source between .NET and Compact .NET

Hi,
I'm trying to create a project with common source code targeted at
the PC and CE.

I've got the PC version and then created another solution for the CE
version. I can link to the files in the PC version by using Add Existing
Item and clicking on Link instead of Open. This works.

I can use #if ... #endif for the differences. This works OK too.

However, it only works for pure c# files. If I try and link to a
form then the CE project complains that the .resx file is not for
Compact .NET.

Is there a way to have different .resx files for each form but share
the .cs source?

Thanks,

Andrew.

Nov 22 '05 #1
0 1000

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Peabody | last post by:
Hi, I'm trying to create a project with common source code targeted at the PC and CE. I've got the PC version and then created another solution for the CE version. I can link to the files in...
2
by: Dan Baker | last post by:
I'm relatively new to the .cs world. I would like to have some "shared" .cs files, which several solutions can use. I don't want to place these in a ..dll, I simply want them included into...
0
by: halfmind_Maryland..... | last post by:
+--------------------------------------------------------------------+ | Microsoft Ponders Shared-Sourcing SQL Server | | from the more-toys-to-play-with dept. ...
33
by: Joe Fallon | last post by:
1. I have a Base class that has a certain amount of functionality. 2. Then I have a CodeSmith generated class that inherits from the Base class and adds functionality. 3. Since I want to be able...
2
by: HarryMangurian | last post by:
I am really confused ! - Form1 uses an openfiledialoag to get a public strfilename. - Forms 2 and 3 both connect to the database specified in the file name. The connection string is shown below. ...
23
by: Kevin | last post by:
I'd like to declare my connection string as a public shared variable, to be used throughout my ASP. Net projected (created using VB.NET 2003). Below is the line of code: Public Shared conStr As...
1
by: Jon | last post by:
I have one class file which I would like to share across several asp.net apps in VS 2005. I would like changes I make to that shared file to reflect in all the apps. By default when I add the...
4
by: herbert | last post by:
I am coding a dozen "background" realtime apps for factory automation in .NET 2.0. The apps need to share a common memory as there are lots of variables to be shared (and synchronized of...
3
by: theProfessor | last post by:
We are using a shared split database with all users currently using Access 2003. The back end is on a shared drive of a state wide WAN. Each user has a copy of the front end on their local...
4
by: stuntgoat | last post by:
Hi, I want to start using Python 2.6 and 3000. I have several questions. What, in your experiences, is a functionally elegant solution to installing 2.6 and 3 from source without breaking...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.