Solved

Compile ASP.Net dll in project folder

Posted on 2008-10-20
9
787 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
 

Author Comment

by:gtrapp
ID: 22779313
When does the .DLL in the bin directory get built?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now