Re: VS 2005 ASP .Net Web Site Projects, VSS, and Bin folder
- From: Gerry Hickman <gerry666uk@xxxxxxxxxxxxxxxx>
- Date: Thu, 24 May 2007 22:48:35 +0100
Hi,
We use pure VS2005 WebSite projects with VSS2005 all the time, with multiple developers and it "just works". However, here are some possible differences.
1) We never add solutions to SC, only projects
2) We don't try to use "References" in WebSite projects (I don't even think you can)
We plan to move to Web Apps model at some point so we can use References.
MattM wrote:
I'm having a major headache with VS 2005 and Web Site Projects and VSS. In our solution file we have a web site project plus some other supporting projects like a data access layer (DAL) and business logic layer (BLL) as .Net project. The problem is that the Web Site Project compiles these DLL files into it's bin folder to run. Then when we sync with VSS those DLL files are stored in VSS in the bin directory.
When another developer gets the latest version from VSS for the web site project they get these DLL files from the bin directory and the references for the web site project label these files as type "BIN". This appears to tell the project that it only needs the DLL it has in the bin folder. This is a problem since it appears even when you rebuild the entire solution the web site project does not grab new versions of the supporting project DLL files you just compiled.
To make matters worse, if you try to manually put a new copy of the DLL file into the bin directory you are stuck wtih checking that DLL out of VSS, which may not be what you want.
What is the best practice for web site projects and VSS? Are you supposed to put exclude statements for all the DLL files in the bin directory so VSS ignores them? Since the web site project has no project file to tell it where to reference everything you can't tell it to grab the supporting DLL files from your supporting project. There must be a less frustrating way to work with these projects on a team using VSS but we are stumped as to what to do.
--
Gerry Hickman (London UK)
.
- Prev by Date: Re: Security setting for all users to compile c programs in VC++ .
- Next by Date: Help to "load test" a windows authenticated website
- Previous by thread: Re: VS 2005 ASP .Net Web Site Projects, VSS, and Bin folder
- Next by thread: Re: VS 2005 ASP .Net Web Site Projects, VSS, and Bin folder
- Index(es):
Relevant Pages
|