471,627 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Shared files

Hello,

In the past when working with VB.net, if several projects needed to use
the same set of constants, I would declare them in a Class file and
share the class file (in VSS) b/w several projects.This way, if one of
the projects updated the file, it impacted the other projects aswell.
Typically the constants were col names used in data tables etc...
This worked well because VB.net did not have explicit name space
declaration and any class would belong withn the root name space.

I am now working on a C# solution and was trying the same technique
out. I cant do it because each class needs explicit name space
declaration. I know this can be put within some kind of a resource
assembly and be re used. But case in point I want to keep some of the
assemblies as light and independant as possible and want to avoid any
such references.

Is there another way this can we worked out ? Any ideas will be great
Regards,
Avinash

Dec 2 '05 #1
2 1094
i'd like to suggest "linked source file".

Dec 2 '05 #2
Hi,
I did a quick search on the web but was not able to zero in on the
topic.
What is a "linked source file" and how do I work with it.

Many thanks,
Avinash

Dec 2 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Oliver | last post: by
1 post views Thread by Hubert Wong | last post: by
1 post views Thread by adamcrew | last post: by
2 posts views Thread by Dan Baker | last post: by
9 posts views Thread by Invalidlastname | last post: by
1 post views Thread by kimpton | last post: by
2 posts views Thread by sotto | last post: by
9 posts views Thread by Maxwell2006 | last post: by
1 post views Thread by XIAOLAOHU | last post: by

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.