Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I am having trouble in publishing a ASP.NET solution which contents 4 projects out which 3 are class Libraries.

Say A B & C are libraries and D is my actually project when i publish this D project, only D is getting uploaded but A B & C class libraries are not getting published.

Am I doing anything wrong or What needs to be done???
Posted
Comments
Zafar A khan 19-Jul-13 2:09am    
have you added the references of class labs to your web application?
naveend915 19-Jul-13 6:06am    
yes i have added. But the problem i am facing now is that when i try to register am getting a error msg i have written a code for capturing error in a library file but its not capturing the exception though the library file is added. what can be done about it?

Clean the solution and add all references of A,B, C to D. Similarly for A B C. Now build the Proj D. Should work

All the best...!!
 
Share this answer
 
Comments
naveend915 19-Jul-13 6:08am    
ya thanks now it got added to the solution but now one more problem is that am getting some errors but its not getting captured by the exceptionlogging which i have written in the library. what can be done about it?
Hi,

You must to add the class library reference to the respective project so that it can convert it to respective DLL. Refer this link for step by step publishing the application having the class library.



Creating a Web Application Project with a Class Library[^]




Hope it helps.
 
Share this answer
 
Comments
naveend915 19-Jul-13 6:09am    
ya thanks now it got added to the solution but now one more problem is that am getting some errors but its not getting captured by the exceptionlogging which i have written in the library. what can be done about it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900