473,405 Members | 2,287 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,405 software developers and data experts.

Share dataset.xsd files between projects

I have a solution which contains multiple projects (different
applications). Every project use the same typed dataset (and also a few
other shared code files).

I tried to remove the dataset.xsd from the project and add it as a
linked items (files in a different direcory on disk) instead but this
cause errors in the designer when I try to open any form using the
dataset. If I change back back to include the dataset in the project it
works fine.

Any ideas why this is happening and how can I share the dataset (ie to
only have the dataset files in one physical location sharing it between
my projects)?

Jun 1 '07 #1
2 2992
Magnus,

Are you trying to share it at design time, run time, or both?

I would recommend having a "data layer", that contains the dataset and such
logic, and reference it from the other projects.
Hope this helps,

Steve

"Magnus Bergh" <ma*****@sbbs.sewrote in message
news:MP***********************@msnews.microsoft.co m...
>I have a solution which contains multiple projects (different
applications). Every project use the same typed dataset (and also a few
other shared code files).

I tried to remove the dataset.xsd from the project and add it as a
linked items (files in a different direcory on disk) instead but this
cause errors in the designer when I try to open any form using the
dataset. If I change back back to include the dataset in the project it
works fine.

Any ideas why this is happening and how can I share the dataset (ie to
only have the dataset files in one physical location sharing it between
my projects)?

Jun 4 '07 #2
In article <uf**************@TK2MSFTNGP04.phx.gbl>,
st*******@community.nospam says...
Are you trying to share it at design time, run time, or both?

I would recommend having a "data layer", that contains the dataset and such
logic, and reference it from the other projects.
I want to share it at design time. For this application (compact
framework) it is really not necessary to share it at run time.

I have tried to remove the XSD file and then add it again as a linked
item (and putting it in a separate directory) but this cause errors in
the designer when I try to open any form using the dataset.

I have one other project in the solution that is still using the XSD
file as a linked file and that works fine. However that application is
not using any forms (well at least not any forms directly using the
dataset, only access it in a batch operation).

Jun 4 '07 #3

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

Similar topics

2
by: Brad Wood | last post by:
Using VS2003, I can't add an existing class to a project w/o the IDE creating a copy of it. I want multiple projects to be able to share a central copy of a class. I can't compile the shared...
1
by: Macca | last post by:
Hi, I have a C# Solution/Application that contain 4 projects. Each of these projects needs at some time to access the same database. I would like to know how to share a single connection...
1
by: Bill Reynen | last post by:
Hello, Working in ASP.NET. I want to create several projects on the web server /Online /Online/App1 /Online/App2 /Online/App3
5
by: Raed Sawalha | last post by:
We have a web application with at least 570 Pages and 10's of user controls ....all under project name LinkDevProject ...recently we start separating the project into multiple projects ....the...
8
by: William Meitzen | last post by:
Does someone know how I can get two projects to share a common class? Something like this: solution WholeShmeer project1 code1 CommonClass project2 code2 CommonClass
3
by: Ron L | last post by:
I have an application that I am developing that is a front end for a SQL database. We will also be developing a subset of the UI that will work as a (mainly) standalone client that will make a...
2
by: Mike9900 | last post by:
We need to deploy 2 or more projects that share the same assemplies , such as common.dll. And so we need to put all these files in the same //bin directory in the server with common files. But the...
1
by: Waldemar Grzywiński | last post by:
Is possible (like desktop projects 'link file') share code files between web projects ? Need I create shared assembly (dll)? VS 2003.
15
by: Neo | last post by:
Hello All, I found that ASP.net website only accepts code withing site directory. This creates big hurdle in shairng code. How to share code between two websites, like the way share between two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
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...

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.