Solved

Compile ASP.Net dll in project folder

Posted on 2008-10-20
9
792 Views
Last Modified: 2008-10-23
I have a ASP.Net 2.0 project and I am using MS Development Studio 2005. There is the application's .DLL in C:\Inetpub\wwwroot\pbfamily\bin which I like to rebuild. I played around with the Platform and Configuration settings in the Configuration Manager, but this .DLL is not being rebuilt now and can't seem to rebuild this file. I was rebuilding for a x64 platform, and have Debug, Release, and x86 folders underneath the bin.

How can I get this .DLL in C:\Inetpub\wwwroot\pbfamily\bin rebuilt now?  
0
Comment
Question by:gtrapp
  • 5
  • 4
9 Comments
 
LVL 26

Expert Comment

by:Rejojohny
ID: 22767248
how do you know that the dll is not rebuild? Did you make any changes to the code and did not see the recent changes? If yes, after you changed the code and hit "rebuild" did the application give any error or gave a "build successful" message at the bottom?

Rejo
0
 

Author Comment

by:gtrapp
ID: 22769137
The date modified for the .DLL in the bin directory does not change. The date on .DLL in the bin/release folder does.

I changed the code and selected Rebuild Project. At the bottom, Everytime it says it has rebuild the .dll in the \bin\release folder. How do I get the .DLL rebuilt in the bin folder? Does VS use this for debug mode?
0
 
LVL 26

Expert Comment

by:Rejojohny
ID: 22770450
Does VS use this for debug mode?
No. To build it in debug mode .. open the "configuration properties" of the project .. right click and select properties to get to this section .. change the "configuration" from "release" to "debug"
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:gtrapp
ID: 22779313
When does the .DLL in the bin directory get built?
0
 
LVL 26

Expert Comment

by:Rejojohny
ID: 22780852
when you rebuild .. by the way, both the release and debug folder are within the "bin" folder ... so did you mean, when is it build in the bin\debug folder?
0
 

Author Comment

by:gtrapp
ID: 22780871
Just the bin folder is where the .DLL is that does not get rebuilt. In the bin\Release and bin\Debug folders, .DLLs are rebuilt there.
0
 
LVL 26

Expert Comment

by:Rejojohny
ID: 22785677
there shouldn't have been a dll in the bin folder .. if the configuration is debug, the dll is build in the bin\debug folder and if it is release, then the dll is build in the bin\release folder ...

Rejo
0
 

Author Comment

by:gtrapp
ID: 22790604
This project was VS 2003 .Net 1.1 project. Perhaps, this was a carry over from that version. However, before I was playing around with the Configuration Manager, that .DLL in the bin folder was being rebuilt.
0
 
LVL 26

Accepted Solution

by:
Rejojohny earned 250 total points
ID: 22790828
i think using the configuration manager u can change the path where you want the dll to be build into for each type .. so maybe debug had it set to be build in the bin folder ..
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question