Re: VS 2005 ASP .Net Web Site Projects, VSS, and Bin folder



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)
.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • RE: VB.NET independent appliation
    ... the bin directory and set the references to that instance of the DLL, ... > need any *.dll files as external link. ... > I don't want to see any error message because VB6runxx.dll is nissing, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)
  • Re: Codebihind not working on live server
    ... > Are the .dll files being put into a bin directory within the ... Or the assembly DLL's might be put in a directory with sufficient rights ... Wim ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)