473,657 Members | 2,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4198
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...@bl uewin.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
2603
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. I've tried microsoft.public.dotnet.faqs and m.p.d.framework. ----- Hi, I have an issue with Visual Studio dotnet when using "Add Existing Item" to a web project. When I create a new project, that option works fine. When I
1
1266
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 office pc which has visual studio .net installed. The source safe server is on another pc. I tried to zip the source code from my office pc running win2000 and take it home to my home pc running winxp and also has visual studio .net. However, when I...
1
2110
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 new computer. I'm trying open the project, which does not look to have an ..sln file associated with it. I've been trying to open the .vbproj file. I get an error message saying: "The project you are trying to open is a web project. You need...
1
7085
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 solution in Source Safe that I want to add some web service projects to. I create a folder under my solution folder for the new web service project. I create a virtual directory using IIS and accept the default settings for security etc.
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
6
3359
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) I installed FrontPage server extensions to IIS on my computer while following instructions in a Microsoft ASP.Net MCSD training book. After installing the FrontPage Server Extensions I cannot create a new
2
2160
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 trying to get it in a right way. Thanks in advance for the help.
9
6496
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? Thanks.
0
8385
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
8303
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
8821
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
8723
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...
1
8502
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8602
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
7316
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...
0
4150
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...

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.