473,503 Members | 1,654 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 1263
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.sourcesafe 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********@nospamath3osoftware.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.166.186.188
| Lines: 1
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:114267
| X-Tomcat-NG: microsoft.public.dotnet.framework.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.sourcesafe 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********@nospamath3osoftware.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.166.186.188
| Lines: 1
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:114267
| X-Tomcat-NG: microsoft.public.dotnet.framework.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**************@TK2MSFTNGXA01.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.sourcesafe 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********@nospamath3osoftware.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.166.186.188
| Lines: 1
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:114267
| X-Tomcat-NG: microsoft.public.dotnet.framework.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**************@TK2MSFTNGXA01.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 80.80.25.155
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:114657
| X-Tomcat-NG: microsoft.public.dotnet.framework.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**************@TK2MSFTNGXA01.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.sourcesafe 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********@nospamath3osoftware.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.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: 65.166.186.188
| > | Lines: 1
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:114267
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.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
2301
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....
2
1151
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...
0
1249
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...
1
880
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...
4
1407
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...
10
4610
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...
8
1592
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...
1
3567
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...
2
4182
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...
0
7198
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
7072
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...
0
7271
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
7449
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
5570
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,...
1
4998
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...
0
3160
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...
0
1498
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 ...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.