473,796 Members | 2,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sharing Projects in sourcesafe

Hello,

This question is related to sharing .Net projects across solutions and is
reposted from the SourceSafe group.

We have several different solutions and want to share common assemblies
across them. Is it best to share the project and its files to each solution
(each solution has it's own shared project), or have each solution point to
the same file location of the project?

If you have each solution point to the same project files, then there are
disadvantages with labelling etc.

Currently we think the sharing option is best but we read in MSDN articles
that Microsoft suggests you avoid sharing top level projects.

Any guidance would be appreciated,

Simon Neve

Jul 21 '05 #1
1 1953
I would suggest that you set up VSS so that your common assemblies are not
under the "solution tree" that VSS sets up for any particular project.
Make them their own solutions, individually. Compile them and release the
compiled code into an installable MSI. Developers in your team
would get the MSI from VSS, install it locally, and reference the DLLs from
the same location on each developer's machine (needed so that you
can share the higher-level projects from machine to machine).

For the higher-level app, the reference to the compiled dll is normally
enough to get the dll included in it's install package.

I would not consider it good practice for two higher-level projects to have
access to the source code of a single independent shared project.
Versioning becomes a nightmare.

I hope this helps,
--- Nick

"Simon Neve" <Si*******@disc ussions.microso ft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.com...
Hello,

This question is related to sharing .Net projects across solutions and is
reposted from the SourceSafe group.

We have several different solutions and want to share common assemblies
across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?

If you have each solution point to the same project files, then there are
disadvantages with labelling etc.

Currently we think the sharing option is best but we read in MSDN articles
that Microsoft suggests you avoid sharing top level projects.

Any guidance would be appreciated,

Simon Neve

Jul 21 '05 #2

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

Similar topics

1
1310
by: Tim Haughton | last post by:
Hello, I seem to be encountering a problem that many others have encountered before me. Unfortunately, even the mighty Google seems reluctant to yield any solutions. We are developing some webservices. We have multiple developers who have Visual Studio 2003 and SourceSafe 6.0d. None of our developers have IIS installed on their machines. We have a central test server that we want to work off which runs IIS and .NET 1.1. All of our...
4
2097
by: roni | last post by:
hi. is there a tool that compare 2 vs.net projects and show the differences in code ? (in text..) such tool will help me alot to see changes i made between backups for example. have a nice day.
4
1689
by: cpnet | last post by:
I couldn't find the 'right' group to post this, so I thought I'd try it here. If you can suggest a better newsgroup to post this in, please let me know. I trying to figure out if there's an easy way to share VS.NET code (for an ASP.NET app) between 2 remote developers. In general only one developer will be changing the code, but I'd like both developers to be able to compile and run the code on their machines. The code shouldn't run...
16
2257
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms. So I've adopted the approach of having two projects share the same set of files. In my case, I have two similarly named projects: DataObjects DataObjectsCF The former is for the Desktop app and the latter is for the Compact Framework.
3
1959
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it appears that the project files get created in the URL specified Location field on the New Project dialog box. This makes sense to me. What is confusing is that the solution file gets created in a folder with the same name as the location folder (the...
7
1631
by: Mantorok | last post by:
Hi all We have an ASP.Net project (and the Solution) under source-control. Here is the example - I create the Solution, I create an ASP.Net project and then check it all in to source control, now, when another user pulls down the solution/project from source and then tries to open it the Solution says it can't find the project. The temporary solution we have so far which is far from convenient is to
1
329
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?
1
1002
by: LCE | last post by:
I have two programs, one is Windows app the other an asp project that share the same classes. I am using SourceSafe for my source control. We have 2 developers working on the projects and would like to have the classes centrally located to keep from overwriting each others work. Is there a way that I can do this?
1
1548
by: Ben | last post by:
Hi. Can anyone decribe a good method to share Common classes between projects while using source control? I used to just point everything to one directory... but started using SourceSafe lately, and that causes some issues, since when you update from sourceSafe you can get older versions of the Common classes... So now, I'm trying to simply create a seperate project for the Common
0
9680
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, 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...
0
9528
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,...
0
10455
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10228
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 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...
0
9052
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, 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...
0
5441
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...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
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
3
2925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.