473,394 Members | 2,031 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,394 software developers and data experts.

Remove Class Library Reference from BIN folder

No matter what I do the external class library DLL is added back to the
bin folder. I have tried to remove this on the server, in vss, and in
the "Temporary ASP.NET Files" folders to no avail. Can anyone help?

Nov 8 '06 #1
3 1943
you have a reference to the dll as a page directive, or in the web config.
remove the reference, and the compiler will stop copying it as instructed.

-- bruce (sqlworkcom)

"ThazKool" <Ch**********@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
No matter what I do the external class library DLL is added back to the
bin folder. I have tried to remove this on the server, in vss, and in
the "Temporary ASP.NET Files" folders to no avail. Can anyone help?

Nov 8 '06 #2

That's the way it works dude.

All referenced assemblies (dll's) are copied to the bin directory.

This is what allows a "copy and deploy" ability.

And writing another post ......
(which would be in addition to this one and the Wednesday, November 08, 2006
8:57 AM post)
isn't going to change that.

You can check this
http://www.devx.com/dotnet/Article/10045/1945?pf=true
link, and start a path to understanding how dotNet apps get deployed.

"ThazKool" <Ch**********@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
No matter what I do the external class library DLL is added back to the
bin folder. I have tried to remove this on the server, in vss, and in
the "Temporary ASP.NET Files" folders to no avail. Can anyone help?

Nov 8 '06 #3
The answer is: Since a web application may be deployed remotely, the
DLL dependencies are added to the bin folder. The problem is that I
don't want the website to access the Legacy or DataLayer DLLs directly.
However, they are added since they are dependencies. The only
solution is to not make the classes in the assemblies public and set
only a few specific friend assemblies... like the Business Logic or
Object Model layers.

On Nov 8, 11:12 am, "sloan" <s...@ipass.netwrote:
That's the way it works dude.

All referenced assemblies (dll's) are copied to the bin directory.

This is what allows a "copy and deploy" ability.

And writing another post ......
(which would be in addition to this one and the Wednesday, November 08, 2006
8:57 AM post)
isn't going to change that.

You can check thishttp://www.devx.com/dotnet/Article/10045/1945?pf=true
link, and start a path to understanding how dotNet apps get deployed.

"ThazKool" <Che.Gonza...@gmail.comwrote in messagenews:11**********************@m73g2000cwd.g ooglegroups.com...
No matter what I do the external class library DLL is added back to the
bin folder. I have tried to remove this on the server, in vss, and in
the "Temporary ASP.NET Files" folders to no avail. Can anyone help?
Nov 8 '06 #4

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

Similar topics

5
by: Edward Mitchell | last post by:
I am trying to include two class files into a web service project. The structure I have is a top level solution and project in a folder and below that, the web service project in it's own folder. ...
1
by: jason | last post by:
hello, i have a C# class library that i recently had to add ADODB functionality to, in order to support consumer applications that can only work with recordsets. i added the ADODB library...
5
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
8
by: Brett Romero | last post by:
I have this situation: myEXE <needs< DerivedClass <which needs< BaseClass Meaning, myEXE is using a type defined in DerivedClass, which inherits from BaseClass. I include a reference to...
6
by: tshad | last post by:
Is there a reason to use session.remove over session.contents.remove? Don't they both remove the key and data from the contents collection? I assume that session(x) = nothing does essentially...
3
by: Martyn Fewtrell | last post by:
Hi there. First of all let me apologise for this is a somewhat general question to which I would be interested in any opinions. As far as I can see when I create a web application the...
4
by: Alan Mailer | last post by:
Again, I'm new to VB.net and there is something I need help with: Like (I assume) many of us, over time I want to be able to create some VB.net classes that I might want to use in more than one...
1
by: sandhyabhavani | last post by:
This article is used to zip a file or directory using vb.net. The classes and method to zip a file is availale in java.io, java.util, java.util.zip class library.To import these you have to add a...
2
by: Fresno Bob | last post by:
Hi I am used to using the App_Code folder to put my DAL and BLL classes. However I want to move toward using separate dll's so I can start doing things like Unit Tests and using Sandcastle for...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.