473,387 Members | 1,766 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,387 software developers and data experts.

Using debug and release bin directories for asp.net project

Hi,

I would like to keep my release and debug dll's separate in a structure as
follows:

/myapp
global.asax
home.aspx
/bin
/debug
myapp.dll
/release
myapp.dll

If I do this and rebuild my solution, the rebuld works but executing from
the ide results in a failure to load myapp.global because the myapp.dll can
not be found.

It seems that it must be necessary for iis to know for myapp that that it is
running in particular configuration.

Up until now, I've set both configurations to point to /myapp/bin and this
works. However I can some conflicts with the temporary cache which make it
necessary to restart the machine, clear the cache, rebuild before debugging.
A pain.

NG traffic on the topic indicates confusion out in the community regarding
the best practice.

Thanks!
Nov 19 '05 #1
2 1343
asp.net only looks in the bin directory to find code behind dll's

-- bruce (sqlwork.com)

"Mark Murphy" <vi***@newsgroup.nospam> wrote in message
news:82**********************************@microsof t.com...
Hi,

I would like to keep my release and debug dll's separate in a structure as
follows:

/myapp
global.asax
home.aspx
/bin
/debug
myapp.dll
/release
myapp.dll

If I do this and rebuild my solution, the rebuld works but executing from
the ide results in a failure to load myapp.global because the myapp.dll
can
not be found.

It seems that it must be necessary for iis to know for myapp that that it
is
running in particular configuration.

Up until now, I've set both configurations to point to /myapp/bin and this
works. However I can some conflicts with the temporary cache which make
it
necessary to restart the machine, clear the cache, rebuild before
debugging.
A pain.

NG traffic on the topic indicates confusion out in the community regarding
the best practice.

Thanks!

Nov 19 '05 #2
Hi Viosk,

I think what Bruce has mentioned is right. The ASP.NET application is
different from normal .net application which will only probe private
assemblies in the private "bin" folder. We can not use the <probing>
setting in config file to specify our custom private folders. So we can not
specify multi hierarchical assemblies(except those localized satelitte
assemblies) structure in the asp.net application 's private bin dir ( only
one version of the precompiled assembly can be deployed in it).

Thanks,
Steven Cheng
Microsoft Online Support

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

Nov 19 '05 #3

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

Similar topics

1
by: _BNC | last post by:
Well, it started as a series of tools for supporting a project, but I've got a large number of project directories with .SLN files that are used by a rapidly-growing EXE. First question: What...
2
by: Boba | last post by:
Hi, I'm programming a WinForm application. I would like to enter commands that will send output that will help me to locate bugs in the future. I know that there is a way to send output by...
1
by: Przemek M. Zawada | last post by:
Dear Group! While I'm including files through "Project/Add Items/New Folder/*.newFiles", and so on, and so on, in Visual Studio (2003), I wish to have a copy of pre-selected directories in my...
2
by: Jeff | last post by:
Hello Can anyone suggest a good place/article to learn about the basic configuration/structure of all the different directories that make up a (forms/asp,etc.) project? I create files in one...
3
by: Leith Bade | last post by:
I have been trying to use the new Visual C++ Toolkit 2003 with the VC6 IDE I set up the executable, inlcude, and library directories to point to the new compilers I had to fix a few errors in the...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
8
by: Bruce | last post by:
I am using VB in Vs2005. Am I missing something or does VB not have the concept of "builds" (release/debug) like in VC? I wrote an assembly and I would like to have a debug version of the DLL...
3
by: hsmit.home | last post by:
I spent way too much time on this and I must say, I was a little disgruntled with what has been posted on all the various Xalan C mailing lists. Everyone says there's a solution, but give next to...
3
by: TBass | last post by:
Hello, Is there a way to get Visual Studio 2003 look to one directory for debug version dlls when set to DEBUG and then to another directory where I store the release version of a dll when set...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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.