I am trying to put all of the dll/code files in the "whole" application in
the parent bin folder because it would reduce the size of the application by
not having bin folders for each application. The other thing is, if I have
ChildApp.dll in ChildApp/bin, but ParentApp needs to make a reference to it,
the whole application now has 2 copies of ChildApp.dll in it (this is what I
am trying to avoid for the most part). Any ideas how to do this? I would
rather not use the GAC since I have no access to it on the live server.
"Patrice" <http://www.chez.com/scribe/wrote in message
news:e4**************@TK2MSFTNGP03.phx.gbl...
Looks expected to me. The destination for the compiled code for ChildApp
is the parent bin folder... So when you run the ChildApp, it can't find
its own code as this is located somewhere else than in its own bin
folder...
Though you could change the web.config file to change the default bin
folders or just let the ChildApp code goes in the ChildApp bin folder,
your best bet could be to explain what you are trying to do in case
someone would have a better way to achieve your goal (or are you trying to
create a class library ??)
--
Patrice
"Andy B" <a_*****@sbcglobal.neta écrit dans le message de news:
%2****************@TK2MSFTNGP02.phx.gbl...
>>I have 2 web applications: ParentApp and ChildApp. The ChildApp root
folder is setup like this: ParentApp/ChildApp. I set the output folder of
the ChildApp under the build section in VS2005 properties for the project
to the ParentApp/bin folder. Everything builds ok, but when I run a page
in the ChildApp, I get something like: Can't load 'namespace.type'. The
file ChildApp could not be found. Is there any way to fix something like
this?