PC Review


Reply
Thread Tools Rate Thread

ASP.Net 2.0 and Source Control

 
 
J.Marsch
Guest
Posts: n/a
 
      5th Aug 2005
Hello all:

I am trying to create a multi-project solution in VS 2005, and I'm having
some problems with Source Control. I am running into 2 very vexing
problems. Can anyone give me a pointer?

Some layout information:
I have one Web Site, and several class library projects in the solution (all
C#).
The web site is configured to use local IIS via an HTTP location
http://localhost/MyWebSite


1. If I create the solution and check everything in, it seems to work fine
for me. However, if another developer tries to perform an "Open from source
control" to pull the code onto their machine, the web site files land in a
directory that the IIS account has no access to, so when you attempt to run
the site in the debugger, you get an exception. It seems that by default
all web sites that are opened from source control start out broken. This
worked perfectly in Visual Studio 2003 (web projects went below
inetpub\wwwroot), but with 2005, the aspx filesend up below my default
project folder.


2. I have project references from the Web Site to the class libraries.
When the Class Libraries build, the dlls are copied into the bin directory
under the web site. That part is ok -- same behavior as in 2003, but more
obvious. However, the IDE wants to automatically add these dlls (the
binaries) to source control. That's really _not_ ok. How can I configure
the IDE to use the project references without trying to check in the dlls?
(basically, similar behavior as '2003)


 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      5th Aug 2005
>
>
>2. I have project references from the Web Site to the class libraries.
>When the Class Libraries build, the dlls are copied into the bin directory
>under the web site. That part is ok -- same behavior as in 2003, but more
>obvious. However, the IDE wants to automatically add these dlls (the
>binaries) to source control. That's really _not_ ok. How can I configure
>the IDE to use the project references without trying to check in the dlls?
>(basically, similar behavior as '2003)
>


Hey J,

I'm not sure about #1, but #2 is a known issue MS plans to address by
RTM. It is very irritating in beta 2, unfortunately.

--
Scott
http://www.OdeToCode.com/blogs/scott/
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Source/Record Source issue Annemarie Microsoft Access Form Coding 3 29th Nov 2006 04:09 AM
Source Control - what files should/shouldn't be stored in source control MarkusR Microsoft C# .NET 22 6th Oct 2006 01:07 PM
Adding a web application project to source control (Visual Source Safe) ~~~ .NET Ed ~~~ Microsoft ASP .NET 1 26th Feb 2005 02:20 PM
Compile errors when using form control's "Control Source" property to refer to the control's value Yarik Mezheritskiy Microsoft Access Form Coding 3 5th Nov 2004 01:56 AM
Combo Box - Confused on Record Source vs Control Source ? ZBC Microsoft Access Forms 2 13th Jan 2004 12:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:21 AM.