Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > references in web services project in VS 2005 vs. VS 2003

Reply
Thread Tools

references in web services project in VS 2005 vs. VS 2003

 
 
Luther Miller
Guest
Posts: n/a
 
      04-21-2006
A member of my team recently completed a web services project. The solution
contains some other porjects referenced by the web services project. In the
web services project, the references are only listed as DLLs in a BIN folder.
When we added this to source control and then retrieved it somewhere else to
do a release, we had to maunally add the DLL that was being referenced to
source control.

In previous versions of Visual Studio, I recall these projects having a
References folder where we could reference the other Projects in the
solution. This is how we ADDED the reference to this web service, but the end
result is the DLL in the BIN folder instead of a project reference in a
References folder.

My end goal is to be able to retrieve the solution from source control,
build it, and deploy it, without having to check DLLs into source control.
Any insights into the subtitles that I missed in how 2005 works now?
Thanks!
 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      04-24-2006
Hi lex,

Thank you for posting.

Regarding on the ASP.NET2.0/VS 2005 's project reference problem, it is
due to the new projectless model for ASP.NET 2.0 application in VS 2005,
there is nothing you've missed. In the new projectless model, there is no
project file for ASP.NET 2.0 application and all the private referenced
assemlies are just put in the "bin" dir, there is not explicit reference
list on them. And for strong-named reference assemblies, they'll be
declared in the web.config's

<compilation><assemblies> .....</ > </> section....

So if you need to make sure your web application get the referenced
assemblies correctly, from source control, we need to keep the private
"bin" dir's content unchanged.

BTW, the ASP.NET dev team does provide a new project model which use the VS
2003 like project style, that still use procompiled main assemblies and
project file. It is still under beta preview, you can find it under the
following location:

#Visual Studio 2005 Web Application Projects (RC1)
http://msdn.microsoft.com/asp.net/re...structure/wap/


http://weblogs.asp.net/scottgu/archi...07/432630.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)











 
Reply With Quote
 
 
 
Reply

Thread Tools

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
VS 2005 Web Site Project vs Web Application Project rmgalante@galaware.com ASP .Net 0 01-28-2008 08:18 PM
Upgrade vs 2003 project to vs 2005 project Aijun ASP .Net 0 01-11-2008 07:20 PM
Converting VS 2005 Web Site Project to VS 2005 Web Application Project ITistic ASP .Net 2 08-21-2007 08:56 PM
Converting VS.NET 2003 web project to VS.NET 2005 web project =?Utf-8?B?anJldHQ=?= ASP .Net 1 09-26-2006 09:56 AM
Difference between bin and obj directories and difference between project references and dll references jakk ASP .Net 4 03-22-2005 09:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57