473,386 Members | 1,773 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,386 software developers and data experts.

Web project, bin folder, and Visual Source Safe questions.

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
these dlls to Visual Source Safe, but we don't want to store dlls in
Visual Source Safe. How can I prevent that from happening.

I saw an old posting that said to use "Exclude from Project" and that
this whole issue was bug in the beta version. But apparently it is a
bug that never was fixed. Is there a better solution now than marking
every file in the bin folder as "exclude from project"?

Issue 2:
This web project uses some third-party dlls. The web project
references these third-party dlls as file references. Once again,
Visual Studio wants to add those dlls to source safe, but we don't
want that.

How does a web project know what dlls it needs? In a windows project,
the project file stores that information. But there doesn't seem to
be a project file for web projects. It seems the only way you can
indicate which dlls the web project needs is by adding it to the bin
folder.

Jun 20 '07 #1
2 4165
Hi,

clintonb wrote:
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
these dlls to Visual Source Safe, but we don't want to store dlls in
Visual Source Safe. How can I prevent that from happening.
Are you using the Web Application Project template? How do you create
your new project? If you use the "new project / Web application" menu,
then the bin folder doesn't get added to source control. I highly
recommend you to use that. This option is available after you install
VS2005 SP1. If you don't have VS2005 SP1, then consider using this:
http://webproject.scottgu.com/
I saw an old posting that said to use "Exclude from Project" and that
this whole issue was bug in the beta version. But apparently it is a
bug that never was fixed. Is there a better solution now than marking
every file in the bin folder as "exclude from project"?

Issue 2:
This web project uses some third-party dlls. The web project
references these third-party dlls as file references. Once again,
Visual Studio wants to add those dlls to source safe, but we don't
want that.
And again, if you use the Web Application Project template, then the
content of the bin folder will not be added to source control.
How does a web project know what dlls it needs? In a windows project,
the project file stores that information. But there doesn't seem to
be a project file for web projects. It seems the only way you can
indicate which dlls the web project needs is by adding it to the bin
folder.
There is no CSPROJ file for "new websites" templates. There is one for
"new project" templates, so also for the Web Application Project template.

You can quite easily convert your website to a web application.

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Jun 21 '07 #2
On Jun 21, 4:53 am, "Laurent Bugnion, MVP" <galasoft...@bluewin.ch>
wrote:
Hi,

clintonb wrote:
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
these dlls to Visual Source Safe, but we don't want to store dlls in
Visual Source Safe. How can I prevent that from happening.

Are you using the Web Application Project template? How do you create
your new project? If you use the "new project / Web application" menu,
then the bin folder doesn't get added to source control. I highly
recommend you to use that. This option is available after you install
VS2005 SP1. If you don't have VS2005 SP1, then consider using this:http://webproject.scottgu.com/
I saw an old posting that said to use "Exclude from Project" and that
this whole issue was bug in the beta version. But apparently it is a
bug that never was fixed. Is there a better solution now than marking
every file in the bin folder as "exclude from project"?
Issue 2:
This web project uses some third-party dlls. The web project
references these third-party dlls as file references. Once again,
Visual Studio wants to add those dlls to source safe, but we don't
want that.

And again, if you use the Web Application Project template, then the
content of the bin folder will not be added to source control.
How does a web project know what dlls it needs? In a windows project,
the project file stores that information. But there doesn't seem to
be a project file for web projects. It seems the only way you can
indicate which dlls the web project needs is by adding it to the bin
folder.

There is no CSPROJ file for "new websites" templates. There is one for
"new project" templates, so also for the Web Application Project template.

You can quite easily convert your website to a web application.

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:http://www.galasoft.ch
PhotoAlbum:http://www.galasoft.ch/pictures
Support children in Calcutta:http://www.calcutta-espoir.ch

Thanks! You've saved me a lot of time and trouble.

- Clint
Jun 21 '07 #3

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

Similar topics

1
by: Camel Software | last post by:
I've posted this in other places, but didn't get an answer. The project I'm working on is C#, so perhaps this is an okay place to post this. If there's a more appropriate newsgroup, I'm open to it....
1
by: chuliu | last post by:
I want to develop the project from my home pc and the project is originally in my office developing by a group of developers, myself included. VSS is implemented. I am running win2k pro in my...
1
by: Jennifer | last post by:
A long while back I made an ASP.Net application with VB.Net as the code behind. It's been in MS Source Safe. I now have a new computer and got the latest version downloaded from Source Safe on my...
1
by: Andy | last post by:
This is driving me to insanity!!! I do not have a lot of experience with IIS which probably is not helping but as far as I can tell I am do things as per the MSDN documentation. I have a...
0
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...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
2
by: DBC User | last post by:
I have a project staged in source safe. What is the right way to open the project from source safe and get all the depended files on to my local pc? I do not have the project locally in my PC. I am...
9
by: AWW | last post by:
Running XP - Visual Studio 2005 - VB Want to have duplicate projects - one safe and stable - other for experimenting Can't fine easy way to make duplicate project. Stupid question? or stupid ME?...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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
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...

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.