I am using microsoft development enviroment 2003. I created a solution, and
have some projects, I put the root dir as my IIS home, and each project has
their own directory, so it is like
c:\solution
c:\solution\project1
c:\solution\project2
....
I put my main dll under c:\solution\bin, it works fine. When I compile
project1, I get a dll under c:\solution\project1\bin. But the dll of
project1 is used to handle root http request, I need it handle url like http://mydomain/chat.aspx, not something like http://mydomain/project1/chat.aspx, so I think I need put the project1 dll
into the bin under c:\solution, but I can not change the output path, it is
"bin\" now, everytime I changed it to "..\bin\", it always changed back
automatically, I remember I did do this successfully on my other projects, I
have no idea if this should work and why it doesn't work. Any suggestion to
my problem?
Thanks. 5 1557
Hi David,
Assume that you have 3 projects.
1) project 1 - DLL
2) project 2 - DLL
3) project 3 - Need reference to project 1 - DLL and project 2 - DLL
All you need to do is Add a reference (right click on references -> Add
references and select the project 1 dll and project2 dll from the Projects
Tab)in Project 3
Now your project 3 has references to project 1 dll and project 2 dll ..and
you need to just build the solutions which will automatically places the
latest project 1dll and project 2 dll
to your project 3 dll.
Hope this solves your problem.
Thanks
Raghavendra
"davidw" <da****@affinisys.com> wrote in message
news:eA****************@tk2msftngp13.phx.gbl... I am using microsoft development enviroment 2003. I created a solution,
and have some projects, I put the root dir as my IIS home, and each project
has their own directory, so it is like
c:\solution c:\solution\project1 c:\solution\project2 ...
I put my main dll under c:\solution\bin, it works fine. When I compile project1, I get a dll under c:\solution\project1\bin. But the dll of project1 is used to handle root http request, I need it handle url like http://mydomain/chat.aspx, not something like http://mydomain/project1/chat.aspx, so I think I need put the project1 dll into the bin under c:\solution, but I can not change the output path, it
is "bin\" now, everytime I changed it to "..\bin\", it always changed back automatically, I remember I did do this successfully on my other projects,
I have no idea if this should work and why it doesn't work. Any suggestion
to my problem?
Thanks.
Hi David,
You said: I put the root dir as my IIS home <
I have never heard of anyone doing that before. I assume that means that
you have asked Visual Studio to place the solution into the
C:/inetpub/wwwroot folder.
That is not the most effective thing to do.
Set it to a normal folder, somewhere out from under IIS.
Then, when you create web app in Visual Studio, and reference the DLL from a
project that simply compiles to a DLL, then the DLL will automatically be
copied to the /bin directory of your web app, without you needing to worry
about it.
Just let Visual Studio handle the act of creating the web application.
--- Nick
Sorry, I didn't explain well, I did set it as normal folder.
My question is I put different projects under different sub-directory, I
think it is the right way since you don't want to mix files of different
projects together. Since they are under different sub-directories, they will
create bin under those sub-directories. Their dll would not go to the /bin
of my web app, they are one level down
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:CAeZc.216626$8_6.113751@attbi_s04... Hi David,
You said:
I put the root dir as my IIS home < I have never heard of anyone doing that before. I assume that means that you have asked Visual Studio to place the solution into the C:/inetpub/wwwroot folder.
That is not the most effective thing to do.
Set it to a normal folder, somewhere out from under IIS.
Then, when you create web app in Visual Studio, and reference the DLL from
a project that simply compiles to a DLL, then the DLL will automatically be copied to the /bin directory of your web app, without you needing to worry about it.
Just let Visual Studio handle the act of creating the web application.
--- Nick
I don;t have problem on reference, refrence doesn't care much where you put
it. I just have several dlls created by several projects, they will handle
requests like /chat, /image, things like that, but I could not find a way to
make the compiled dlls go to the bin under my web root.
"Raghavendra T V" <ra*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl... Hi David,
Assume that you have 3 projects. 1) project 1 - DLL 2) project 2 - DLL 3) project 3 - Need reference to project 1 - DLL and project 2 - DLL
All you need to do is Add a reference (right click on references -> Add references and select the project 1 dll and project2 dll from the Projects Tab)in Project 3 Now your project 3 has references to project 1 dll and project 2 dll ..and you need to just build the solutions which will automatically places the latest project 1dll and project 2 dll to your project 3 dll.
Hope this solves your problem.
Thanks Raghavendra
"davidw" <da****@affinisys.com> wrote in message news:eA****************@tk2msftngp13.phx.gbl... I am using microsoft development enviroment 2003. I created a solution, and have some projects, I put the root dir as my IIS home, and each project has their own directory, so it is like
c:\solution c:\solution\project1 c:\solution\project2 ...
I put my main dll under c:\solution\bin, it works fine. When I compile project1, I get a dll under c:\solution\project1\bin. But the dll of project1 is used to handle root http request, I need it handle url like http://mydomain/chat.aspx, not something like http://mydomain/project1/chat.aspx, so I think I need put the project1
dll into the bin under c:\solution, but I can not change the output path, it is "bin\" now, everytime I changed it to "..\bin\", it always changed back automatically, I remember I did do this successfully on my other
projects, I have no idea if this should work and why it doesn't work. Any suggestion to my problem?
Thanks.
OK, so let me get this straight...
You have a solution file in a normal folder. Neither the solution file, nor
any of its subdirectories are addressable from the web server at all.
Under the solution file, you have one web project and one or more DLL
projects.
Visual Studio creates seperate subdirectories for each DLL project. VS
created the web project under your IIS wwwroot folder and created the /bin
directory under that.
Am I still on the page with you? You didn't create the subdirectories...
you created the projects... VS created the subdirectories... right?
Also, you didn't create the web application in IIS... VS did that for you,
right?
(this would be normal).
Now, you open the solution, and in the web project, you make project
references to the DLL projects. Still with me?
And you are stating that when compile all of it, VS is not putting the DLLs
into the /bin folder of the web project? That's pretty odd, because VS has
never failed to do this for me. It simply copies the DLLs for you. By
default... no special settings are needed.
Now... what am I missing?
--- Nick
"davidw" <da****@affinisys.com> wrote in message
news:uv*************@tk2msftngp13.phx.gbl... Sorry, I didn't explain well, I did set it as normal folder.
My question is I put different projects under different sub-directory, I think it is the right way since you don't want to mix files of different projects together. Since they are under different sub-directories, they
will create bin under those sub-directories. Their dll would not go to the /bin of my web app, they are one level down
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:CAeZc.216626$8_6.113751@attbi_s04... Hi David,
You said:
I put the root dir as my IIS home < I have never heard of anyone doing that before. I assume that means
that you have asked Visual Studio to place the solution into the C:/inetpub/wwwroot folder.
That is not the most effective thing to do.
Set it to a normal folder, somewhere out from under IIS.
Then, when you create web app in Visual Studio, and reference the DLL
from a project that simply compiles to a DLL, then the DLL will automatically
be copied to the /bin directory of your web app, without you needing to
worry about it.
Just let Visual Studio handle the act of creating the web application.
--- Nick
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: TokiDoki |
last post by:
Hello there,
I have been programming python for a little while, now. But as I am
beginning to do more complex stuff, I am running into small organization
problems.
It is possible that what I...
|
by: typingcat |
last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so
on. I've tried many PHP IDEs today, but almost non of them supported
Unicode (UTF-8) file.
I've found that the only Unicode...
|
by: Adine |
last post by:
Hi,
I need to develop a program to control electronic instruments. We have so
many different instruments but we can group them. Each group has some common
functions. When user choose an...
|
by: Ravi Sankar |
last post by:
Hi,
I m in the process of starting phase II of my web
application.
My phase I application dll is 1.5MB already. So if i start
to build phase II on top of phase I, i may end up with a
dll of...
|
by: Greg Cyrus |
last post by:
"How to organize a Web-Project with DLL-Projects and Forms-Authentication"
Hi,
i would like to create a multi-tier solution with many projects using
ASP.NET such like presentation, biz-logic,...
|
by: davidw |
last post by:
I am using microsoft development enviroment 2003. I created a solution, and
have some projects, I put the root dir as my IIS home, and each project has
their own directory, so it is like
...
|
by: Rune Jacobsen |
last post by:
Hello all,
I mailed our common hero and fellow newsgroupian Jon Skeet a question
regarding his article on plugins at
http://www.yoda.arachsys.com/csharp/plugin.html, and he suggested that I...
|
by: MikeB |
last post by:
I'm looking at some code and found the -operator. In looking at the
PHP manual at php.net, I can't find a description of what it does. I
can find an example of where it is used, like on this page:...
|
by: Fredrik Lundh |
last post by:
Dudeja, Rajat wrote:
A Python program consists of a script file (the py file you run to start
the program), and usually one or more additional module files (py files
that you import). The...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| | |