I am attempting to take several independantly developed projects and combine them with
a project that was created in the root web directory of a Windows 2000 server.
RootWeb
/Web1
/Web2
/Web3
The RootWeb project contains a ASCX that is being used for the header of the site, and
I would like all of the projects to utilize it as a resource. In Sivakumar
Pandurangan's post titled 'Breaking an application into subapps' [1], the problem is
solved by removing the Application Name of the projects, so that the parent project
(RootWeb, in this case) is used.
This works.
However, to make it work, I must move the DLLs compiled by the projects into RootWeb's
/bin/ directory manually. Otherwise, the project will compile but not run, since it
cannot find the dll in question - it is saving it into Web1/bin, and lookingfor it in
RootWeb/bin. If I attempt to change the properties of the projects so that they save
their DLLs in the /bin/ directory of RootWeb, I am told that I cannot save project
files above the project level directory.
So my questions are this:
1) Is there a way to share ASCX files without a) compiling them or b) using the above
method?
2) Is there a way to make the above method work without having to move the DLL files?
3) Is there a way to move the DLL files (other than manually) on each build so that
the above method does work?
Thanks in advance for your help.
-------
William A. Sempf MCP, CIBS, CIW
Paros Business Partners Senior Consultant
Author of Effective Visual Studio .Net from Wrox Press
[1] http://groups.google.com/groups?hl=en&selm=VFeGdFlwBHA.1532%40cpmsftngxa09&rnum=1
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.