When im adding a new method in DAL file and im calling it from aspx.cs-->bll-->dal when i run the project i do not have any errors
but every time when i add new method the build was failed getting DLL file could not be found are you missing assembly reference such type of error im getting.once i rebuild the DAL and BLL and added into the project then only my solution is running..
pls Give me a permanant solution for it ASAP...THANKS IN ADVANCE.
Jaya PrakashPosted May 25, 2023, 6:14 AM
But It does not showing error in ErrorsList
its showing only in runtime how to make the error visible in the error list.
Naimish MakwanaPosted May 25, 2023, 5:09 AM
It seems like you're experiencing issues with the build process and missing assembly references when adding a new method in your DAL (Data Access Layer) file. Here are a few steps you can take to resolve the problem:
Verify that the necessary assembly references are correctly set up:
Confirm that the build order is set correctly:
Clean and rebuild the solution:
Check for any build errors or warnings:
Verify that the updated DLL files are being deployed:
Consider using project references instead of DLL references:
By following these steps, you should be able to resolve the issue of missing DLL references when adding new methods in your DAL file. Remember to clean and rebuild your solution whenever you make changes to ensure all projects are up to date.