473,656 Members | 2,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referenced class lib output is checked into source safe.

Hi.

I have a situation where I have a web project and a class library in the
same solution. The web project uses the class library. Therefore, I created
a "project reference" in the web project to the call library. This creates a
subfolder for my web application called "bin" where the output of my class
library is placed.

The problem is that this bin directory is placed in source safe when I check
in the project to source control. And that gives a event greater problem,
because after getting the solution from source control, the files are
read-only, thus I cannot compile the project.

Is there any way that I can prevent the bin directory of going into source
safe?

Thanks in advance
Pete
Nov 19 '05 #1
6 1273
For an ASP.NET project in VS.NET you want to exclude the bin folder from
the project. IIS still has the folder, but the solution doesn't manage
it. Rather the build process assures its there and populates your dll's
too it. SourceSafe will pickup any file shown in the Solution Explorer
(generally).

Right click the bin folder and Exclude From Project. This doesn't remove
it from SourceSafe though, you'll have to hard delete it from there.

Clint Hill
H3O Software
http://www.h3osoftware.com

Peter Strĝiman wrote:
Hi.

I have a situation where I have a web project and a class library in the
same solution. The web project uses the class library. Therefore, I created
a "project reference" in the web project to the call library. This creates a
subfolder for my web application called "bin" where the output of my class
library is placed.

The problem is that this bin directory is placed in source safe when I check
in the project to source control. And that gives a event greater problem,
because after getting the solution from source control, the files are
read-only, thus I cannot compile the project.

Is there any way that I can prevent the bin directory of going into source
safe?

Thanks in advance
Pete

Nov 19 '05 #2
For an ASP.NET project in VS.NET you want to exclude the bin folder from
the project. IIS still has the folder, but the solution doesn't manage
it. Rather the build process assures its there and populates your dll's
too it. SourceSafe will pickup any file shown in the Solution Explorer
(generally).

Right click the bin folder and Exclude From Project. This doesn't remove
it from SourceSafe though, you'll have to hard delete it from there.

Clint Hill
H3O Software
http://www.h3osoftware.com

Peter Strĝiman wrote:
Hi.

I have a situation where I have a web project and a class library in the
same solution. The web project uses the class library. Therefore, I created
a "project reference" in the web project to the call library. This creates a
subfolder for my web application called "bin" where the output of my class
library is placed.

The problem is that this bin directory is placed in source safe when I check
in the project to source control. And that gives a event greater problem,
because after getting the solution from source control, the files are
read-only, thus I cannot compile the project.

Is there any way that I can prevent the bin directory of going into source
safe?

Thanks in advance
Pete

Nov 19 '05 #3
Hi Peter,

I think Clint's suggestion is reasonable and I'd always prevent including
the bin folder into our VSS database when add source control for ASP.NET
webproject. For detail info on how to configure this in VSS, I suggest you
try posting in the vstudio.sources afe or other VSS related newsgroup. In
addition, in the ASP.NET/VS.NET 2.0, the improved web project structure may
help us avoid such problems.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Date: Mon, 25 Jul 2005 08:19:52 -0700
| From: Clint Hill <cl********@nos pamath3osoftwar e.com>
| Organization: H30 Software
| User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Subject: Re: Referenced class lib output is checked into source safe.
| References: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| In-Reply-To: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 8bit
| Message-ID: <uM************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.166.186.188
| Lines: 1
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1142 67
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| For an ASP.NET project in VS.NET you want to exclude the bin folder from
| the project. IIS still has the folder, but the solution doesn't manage
| it. Rather the build process assures its there and populates your dll's
| too it. SourceSafe will pickup any file shown in the Solution Explorer
| (generally).
|
| Right click the bin folder and Exclude From Project. This doesn't remove
| it from SourceSafe though, you'll have to hard delete it from there.
|
| Clint Hill
| H3O Software
| http://www.h3osoftware.com
|
| Peter Strĝiman wrote:
| > Hi.
| >
| > I have a situation where I have a web project and a class library in
the
| > same solution. The web project uses the class library. Therefore, I
created
| > a "project reference" in the web project to the call library. This
creates a
| > subfolder for my web application called "bin" where the output of my
class
| > library is placed.
| >
| > The problem is that this bin directory is placed in source safe when I
check
| > in the project to source control. And that gives a event greater
problem,
| > because after getting the solution from source control, the files are
| > read-only, thus I cannot compile the project.
| >
| > Is there any way that I can prevent the bin directory of going into
source
| > safe?
| >
| > Thanks in advance
| > Pete
| >
| >
|

Nov 19 '05 #4
Hi Peter,

I think Clint's suggestion is reasonable and I'd always prevent including
the bin folder into our VSS database when add source control for ASP.NET
webproject. For detail info on how to configure this in VSS, I suggest you
try posting in the vstudio.sources afe or other VSS related newsgroup. In
addition, in the ASP.NET/VS.NET 2.0, the improved web project structure may
help us avoid such problems.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Date: Mon, 25 Jul 2005 08:19:52 -0700
| From: Clint Hill <cl********@nos pamath3osoftwar e.com>
| Organization: H30 Software
| User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Subject: Re: Referenced class lib output is checked into source safe.
| References: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| In-Reply-To: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 8bit
| Message-ID: <uM************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.166.186.188
| Lines: 1
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1142 67
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| For an ASP.NET project in VS.NET you want to exclude the bin folder from
| the project. IIS still has the folder, but the solution doesn't manage
| it. Rather the build process assures its there and populates your dll's
| too it. SourceSafe will pickup any file shown in the Solution Explorer
| (generally).
|
| Right click the bin folder and Exclude From Project. This doesn't remove
| it from SourceSafe though, you'll have to hard delete it from there.
|
| Clint Hill
| H3O Software
| http://www.h3osoftware.com
|
| Peter Strĝiman wrote:
| > Hi.
| >
| > I have a situation where I have a web project and a class library in
the
| > same solution. The web project uses the class library. Therefore, I
created
| > a "project reference" in the web project to the call library. This
creates a
| > subfolder for my web application called "bin" where the output of my
class
| > library is placed.
| >
| > The problem is that this bin directory is placed in source safe when I
check
| > in the project to source control. And that gives a event greater
problem,
| > because after getting the solution from source control, the files are
| > read-only, thus I cannot compile the project.
| >
| > Is there any way that I can prevent the bin directory of going into
source
| > safe?
| >
| > Thanks in advance
| > Pete
| >
| >
|

Nov 19 '05 #5
Thank you both for your replies.

The thing is, there is no exclude from project context menu item.
I managed to find a different answer from the visual studio 2005 bug
reports. It is a known bug in the beta 2 release of VS (buil 50125). It
should be fix in subsequent releases.

Pete

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:23******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Peter,

I think Clint's suggestion is reasonable and I'd always prevent including
the bin folder into our VSS database when add source control for ASP.NET
webproject. For detail info on how to configure this in VSS, I suggest you
try posting in the vstudio.sources afe or other VSS related newsgroup. In
addition, in the ASP.NET/VS.NET 2.0, the improved web project structure
may
help us avoid such problems.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Date: Mon, 25 Jul 2005 08:19:52 -0700
| From: Clint Hill <cl********@nos pamath3osoftwar e.com>
| Organization: H30 Software
| User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Subject: Re: Referenced class lib output is checked into source safe.
| References: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| In-Reply-To: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 8bit
| Message-ID: <uM************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.166.186.188
| Lines: 1
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1142 67
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| For an ASP.NET project in VS.NET you want to exclude the bin folder from
| the project. IIS still has the folder, but the solution doesn't manage
| it. Rather the build process assures its there and populates your dll's
| too it. SourceSafe will pickup any file shown in the Solution Explorer
| (generally).
|
| Right click the bin folder and Exclude From Project. This doesn't remove
| it from SourceSafe though, you'll have to hard delete it from there.
|
| Clint Hill
| H3O Software
| http://www.h3osoftware.com
|
| Peter Strĝiman wrote:
| > Hi.
| >
| > I have a situation where I have a web project and a class library in
the
| > same solution. The web project uses the class library. Therefore, I
created
| > a "project reference" in the web project to the call library. This
creates a
| > subfolder for my web application called "bin" where the output of my
class
| > library is placed.
| >
| > The problem is that this bin directory is placed in source safe when I
check
| > in the project to source control. And that gives a event greater
problem,
| > because after getting the solution from source control, the files are
| > read-only, thus I cannot compile the project.
| >
| > Is there any way that I can prevent the bin directory of going into
source
| > safe?
| >
| > Thanks in advance
| > Pete
| >
| >
|

Nov 19 '05 #6
Thanks for your followup and sharing the further information.

So currently, we'd better ensure that private "bin" dir doesn't exist when
creating VSS database for our project that'll avoid many unexpected
problems.
Thanks again for your posting.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Peter Strĝiman" <pe************ @nospam.nospam>
| References: <e8************ **@TK2MSFTNGP12 .phx.gbl>
<uM************ **@TK2MSFTNGP10 .phx.gbl>
<23************ **@TK2MSFTNGXA0 1.phx.gbl>
| Subject: Re: Referenced class lib output is checked into source safe.
| Date: Wed, 27 Jul 2005 10:27:52 +0200
| Lines: 96
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#o************ **@TK2MSFTNGP14 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 80.80.25.155
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1146 57
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Thank you both for your replies.
|
| The thing is, there is no exclude from project context menu item.
| I managed to find a different answer from the visual studio 2005 bug
| reports. It is a known bug in the beta 2 release of VS (buil 50125). It
| should be fix in subsequent releases.
|
| Pete
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:23******** ******@TK2MSFTN GXA01.phx.gbl.. .
| > Hi Peter,
| >
| > I think Clint's suggestion is reasonable and I'd always prevent
including
| > the bin folder into our VSS database when add source control for ASP.NET
| > webproject. For detail info on how to configure this in VSS, I suggest
you
| > try posting in the vstudio.sources afe or other VSS related newsgroup.
In
| > addition, in the ASP.NET/VS.NET 2.0, the improved web project structure
| > may
| > help us avoid such problems.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| > --------------------
| > | Date: Mon, 25 Jul 2005 08:19:52 -0700
| > | From: Clint Hill <cl********@nos pamath3osoftwar e.com>
| > | Organization: H30 Software
| > | User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
| > | X-Accept-Language: en-us, en
| > | MIME-Version: 1.0
| > | Subject: Re: Referenced class lib output is checked into source safe.
| > | References: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| > | In-Reply-To: <e8************ **@TK2MSFTNGP12 .phx.gbl>
| > | Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| > | Content-Transfer-Encoding: 8bit
| > | Message-ID: <uM************ **@TK2MSFTNGP10 .phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | NNTP-Posting-Host: 65.166.186.188
| > | Lines: 1
| > | Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
| > | Xref: TK2MSFTNGXA01.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:1142 67
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > |
| > | For an ASP.NET project in VS.NET you want to exclude the bin folder
from
| > | the project. IIS still has the folder, but the solution doesn't manage
| > | it. Rather the build process assures its there and populates your
dll's
| > | too it. SourceSafe will pickup any file shown in the Solution Explorer
| > | (generally).
| > |
| > | Right click the bin folder and Exclude From Project. This doesn't
remove
| > | it from SourceSafe though, you'll have to hard delete it from there.
| > |
| > | Clint Hill
| > | H3O Software
| > | http://www.h3osoftware.com
| > |
| > | Peter Strĝiman wrote:
| > | > Hi.
| > | >
| > | > I have a situation where I have a web project and a class library in
| > the
| > | > same solution. The web project uses the class library. Therefore, I
| > created
| > | > a "project reference" in the web project to the call library. This
| > creates a
| > | > subfolder for my web application called "bin" where the output of my
| > class
| > | > library is placed.
| > | >
| > | > The problem is that this bin directory is placed in source safe
when I
| > check
| > | > in the project to source control. And that gives a event greater
| > problem,
| > | > because after getting the solution from source control, the files
are
| > | > read-only, thus I cannot compile the project.
| > | >
| > | > Is there any way that I can prevent the bin directory of going into
| > source
| > | > safe?
| > | >
| > | > Thanks in advance
| > | > Pete
| > | >
| > | >
| > |
| >
|
|
|

Nov 19 '05 #7

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

Similar topics

2
2316
by: Lou | last post by:
Ok, I added my prject to source safe. It worked good for a week, then, one time I couldn't get to source safe and VB propmted to work offline, no I can't get any of my files back into source safe. Its as if the project is now disconnected from source safe. if I run source safe the start my VB app, I never get the source safe login??? -Lou
2
1157
by: Frank Rizzo | last post by:
I am quite new to VSS and I can't figure out how to check in all files that I've checked out in various directories in one shot. Is there a command like that? Because now I have to go and hunt various directories for all the files, I've checked out. Thanks.
0
1258
by: Harinatha | last post by:
Hi, We are developing a smart client application using Visual stuodio 2005 Beta. Our source safe database is Microsoft Visual Source safe. I am facing the following problem. We have created the following structure in VSS. $ | ----Implementation
1
886
by: Ryan Ternier | last post by:
I've just installed .NEt 2.0 on my work box, spent 1 day converting one product over to 2.0 and having it work fine. I want to add the project to Source Control now, and I cannot find 1 place to do this. I've checked every menu, every menu button in the Menu customize screen. We have not updated source safe to the newer version yet, we will be doing that in the new year once our new servers come in and we have our local admin here in...
4
1415
by: Sridhar | last post by:
Hi, I have a question regarding the Global Assembly Cache (GAC) and Source Safe. We have some common dlls which we would like to put in GAC so that they can be used in different applications. We are using Source Safe as a Version Control. Let's say I have created a data access library( one of common dll) and put in the source safe. I have created one web application which needs to access this data access dll. Can I put this data access...
10
4629
by: Dick | last post by:
Using Visual Studio 2003 you were able to manage SQL stored procedures with Visual Source Safe. So long as Visual Studio was used as the editor, it was imposible to make a change to a stored procedure without first checking it out. And once the changes were complete, the stored procedure was checked back into Visual Source Safe. This process worked great. But I can't see how to achieve the same level of control using Visual Studio 2005?...
8
1607
by: M.Siler | last post by:
Two Questions: 1. Can you install Visual Source Safe on one box and the database (the code) stored on another. I know there might be a degree of latency over the network, but we only have 3 developers. 2. Does anyone know of any gotcha running Visual Source Safe on a cluster. Windows 2003 Active/Passive cluster configuration.
1
3591
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in some files and work on it. Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer, connected to websiteOrder.sln located in Visual Source Safe 6.0(source safe located in another...
2
4198
by: clintonb | last post by:
I'm using: Microsoft Visual Studio 2005 Version 8.0.50727.42 Issue 1: We have a solution with a web project and some class library projects. The web project references the class library projects via a project reference. Whenever we compile the class library projects, their dlls are added to the bin folder of the web project. Visual Studio wants to add
0
8382
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
8297
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
8816
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
8717
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
8600
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7311
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...
1
6162
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
1930
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1600
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.