473,385 Members | 1,326 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,385 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 998

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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.