473,386 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Question about Visual Studio 2005, Bin folder, project references, and source control

I'm a newbie when it comes to asp.net. All my prior experience is in
making Windows applications in C++.

In the past when I made windows applications, the project or target
file would keep track of the dlls that are required by the project.
This project file would then be checked into source control. So if
another user got the project from source control, they would also know
which dlls are required by the project.

In ASP.net, it appears that there is no file that keeps track of the
dlls that are required by a project. I have a third-party dll that our
website uses. So to make the project compile, I have to add a file
reference to the dll; when I do that, the dll is copied to the bin
folder of my project. But I keep reading that you should not check the
contents of the bin folder into source control. So if another user got
the project from source control, they would have no idea which dlls are
required by the project. I think that sucks (for lack of a better
term). Or am I missing something?

Thanks,
- Clint

Nov 6 '06 #1
5 2742
In ASP.NET 2.0, the .refresh files in the /bin folder track required DLLs.
It is designed this way so you have a folder based web in addition to an IIS
web. It makes things easier in some respects, but can be a pain in the rear
in others. :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"clintonb" <cl******@fflax.netwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
I'm a newbie when it comes to asp.net. All my prior experience is in
making Windows applications in C++.

In the past when I made windows applications, the project or target
file would keep track of the dlls that are required by the project.
This project file would then be checked into source control. So if
another user got the project from source control, they would also know
which dlls are required by the project.

In ASP.net, it appears that there is no file that keeps track of the
dlls that are required by a project. I have a third-party dll that our
website uses. So to make the project compile, I have to add a file
reference to the dll; when I do that, the dll is copied to the bin
folder of my project. But I keep reading that you should not check the
contents of the bin folder into source control. So if another user got
the project from source control, they would have no idea which dlls are
required by the project. I think that sucks (for lack of a better
term). Or am I missing something?

Thanks,
- Clint

Nov 6 '06 #2
Try adding the 3rd party assemblies into the Solution as Solution Items (you
could have a SolutionItems folder if you want. Do this with the Solution
checked out.
Then, check everything in.
When another developer gets "Latest" on the Solution, your SolutionItems
folder comes with it and they can find the dlls. easily.

If you need to update a dll, check it out, overwrite with the newer one, and
check it back in.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"clintonb" wrote:
I'm a newbie when it comes to asp.net. All my prior experience is in
making Windows applications in C++.

In the past when I made windows applications, the project or target
file would keep track of the dlls that are required by the project.
This project file would then be checked into source control. So if
another user got the project from source control, they would also know
which dlls are required by the project.

In ASP.net, it appears that there is no file that keeps track of the
dlls that are required by a project. I have a third-party dll that our
website uses. So to make the project compile, I have to add a file
reference to the dll; when I do that, the dll is copied to the bin
folder of my project. But I keep reading that you should not check the
contents of the bin folder into source control. So if another user got
the project from source control, they would have no idea which dlls are
required by the project. I think that sucks (for lack of a better
term). Or am I missing something?

Thanks,
- Clint

Nov 6 '06 #3
Thanks for the response.
Unfortunately, I don't see any .refresh files in my bin folder.

- Clint

Cowboy (Gregory A. Beamer) wrote:
In ASP.NET 2.0, the .refresh files in the /bin folder track required DLLs.
It is designed this way so you have a folder based web in addition to an IIS
web. It makes things easier in some respects, but can be a pain in the rear
in others. :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"clintonb" <cl******@fflax.netwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
I'm a newbie when it comes to asp.net. All my prior experience is in
making Windows applications in C++.

In the past when I made windows applications, the project or target
file would keep track of the dlls that are required by the project.
This project file would then be checked into source control. So if
another user got the project from source control, they would also know
which dlls are required by the project.

In ASP.net, it appears that there is no file that keeps track of the
dlls that are required by a project. I have a third-party dll that our
website uses. So to make the project compile, I have to add a file
reference to the dll; when I do that, the dll is copied to the bin
folder of my project. But I keep reading that you should not check the
contents of the bin folder into source control. So if another user got
the project from source control, they would have no idea which dlls are
required by the project. I think that sucks (for lack of a better
term). Or am I missing something?

Thanks,
- Clint
Nov 6 '06 #4
Peter, thanks for the response.

I've always been reluctant to check compiled code into source control.
I figured source control was only for source code, not compiled code
such as dlls and exes. In fact, I thought that was the reason for not
checking in your bin folder contents.

With your plan, you are checking dlls into source control, although
they are listed as solution items instead of files in the bin folder.
Why is your plan better than just simply checking in the bin folder
contents? In both methods, you are checking dlls into source control.
Is there some other reason why you shouldn't check in the contents of
your bin folder?

Thanks,
-Clint
Peter wrote:
Try adding the 3rd party assemblies into the Solution as Solution Items (you
could have a SolutionItems folder if you want. Do this with the Solution
checked out.
Then, check everything in.
When another developer gets "Latest" on the Solution, your SolutionItems
folder comes with it and they can find the dlls. easily.

If you need to update a dll, check it out, overwrite with the newer one, and
check it back in.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"clintonb" wrote:
I'm a newbie when it comes to asp.net. All my prior experience is in
making Windows applications in C++.

In the past when I made windows applications, the project or target
file would keep track of the dlls that are required by the project.
This project file would then be checked into source control. So if
another user got the project from source control, they would also know
which dlls are required by the project.

In ASP.net, it appears that there is no file that keeps track of the
dlls that are required by a project. I have a third-party dll that our
website uses. So to make the project compile, I have to add a file
reference to the dll; when I do that, the dll is copied to the bin
folder of my project. But I keep reading that you should not check the
contents of the bin folder into source control. So if another user got
the project from source control, they would have no idea which dlls are
required by the project. I think that sucks (for lack of a better
term). Or am I missing something?

Thanks,
- Clint
Nov 6 '06 #5
Try checking in the /bin folder and see what happens during a build when all
your read - only dlls that you forgot to check out are locked.
Cheers,
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"clintonb" wrote:
Peter, thanks for the response.

I've always been reluctant to check compiled code into source control.
I figured source control was only for source code, not compiled code
such as dlls and exes. In fact, I thought that was the reason for not
checking in your bin folder contents.

With your plan, you are checking dlls into source control, although
they are listed as solution items instead of files in the bin folder.
Why is your plan better than just simply checking in the bin folder
contents? In both methods, you are checking dlls into source control.
Is there some other reason why you shouldn't check in the contents of
your bin folder?

Thanks,
-Clint
Peter wrote:
Try adding the 3rd party assemblies into the Solution as Solution Items (you
could have a SolutionItems folder if you want. Do this with the Solution
checked out.
Then, check everything in.
When another developer gets "Latest" on the Solution, your SolutionItems
folder comes with it and they can find the dlls. easily.

If you need to update a dll, check it out, overwrite with the newer one, and
check it back in.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"clintonb" wrote:
I'm a newbie when it comes to asp.net. All my prior experience is in
making Windows applications in C++.
>
In the past when I made windows applications, the project or target
file would keep track of the dlls that are required by the project.
This project file would then be checked into source control. So if
another user got the project from source control, they would also know
which dlls are required by the project.
>
In ASP.net, it appears that there is no file that keeps track of the
dlls that are required by a project. I have a third-party dll that our
website uses. So to make the project compile, I have to add a file
reference to the dll; when I do that, the dll is copied to the bin
folder of my project. But I keep reading that you should not check the
contents of the bin folder into source control. So if another user got
the project from source control, they would have no idea which dlls are
required by the project. I think that sucks (for lack of a better
term). Or am I missing something?
>
Thanks,
- Clint
>
>

Nov 7 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Smkmdb1 | last post by:
Hi everyone, I'm a student of ASP.net. Being an ex Perl/CGI programmer who made extra cash making scripts and selling them on the web, I was wondering if one typically uses this format with...
11
by: Random | last post by:
I'm confused about the proper use and usefulness of namespaces. I beleive I understand the purpose is so the developer can put classes within namespaces to essentially organize your code. And I...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
54
by: m.roello | last post by:
In the book: "Working with Microsoft Visual Studio 2005" Craig Skibo wrote: "The power of Visual Studio 2005 lies in its ability to empower users to build, test, and debug powerful applications...
2
by: clintonb | last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site and chose the ASP.Net Web Site template. Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1. It created the...
2
by: clintonb | last post by:
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...
1
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies...
7
by: Curious | last post by:
Hi, I have the same .NET program developed on two machines, therefore, two different versions, call them A and B. There are following differences between A and B: 1) They have differences...
9
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?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...

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.