Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, January 13, 2015 9:06 PM
I am getting the following Error when I compile the solution in Release mode in VS 2008
Could not get dependencies for project reference '<AssemblyName>'
But in Debug mode, this solution builds fine. The above error appears in a Web Applicatoin project in the entire solution which is a collection of 25 projects and Web App project refers to some class libraries in there.
I thing this could be the issue of compilation mode of dll and I tried to compile the referenced dlls in both Release and Debug modes and the error still persists in Web Application project.
more Info:-
1. All the class libraries are .NET 3.5 targeted.
2. I don't know what framework was Web App targeted as I didn't deploy it on my local machine.
Any more pointers of what am I missing.
Thanks
K.V.N.PAVAN
All replies (5)
Friday, January 16, 2015 6:20 AM ✅Answered
Hi K.V.N.PAVAN,
Thanks for your friendly response.
Since there are many projects in the same solution, could you make sure that which project has this issue?
If so, how about debugging the specific project in a new solution? You could take a backup for it.
If possible, I suggest you debug the project in a new solution, please view the output and Error list windows, generally it would share us the detailed error message there.
I would try to remove and re-add the references. Then instead of “build” I would choose “Rebuild Solution”, since rebuild deletes all .dll and rebuilds them.
If still no help for you, maybe you could share me a simple sample, I will debug it in my side. You could share it with one drive.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, January 14, 2015 2:09 AM
Hello K.V.N.PAVAN,
Since this issues is related with Visual Studio build mode, I move it to the Visual Studio forum so that Visual Studio experts would provide a better help for this issue.
The current forum you posted to is used to discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Thursday, January 15, 2015 2:52 AM
Hi K.V.N.PAVAN,
Just to make this issue clearly, it is the Web form project, not the web site project, am I right?
If so, how did you add the references in your web project? The class library is in the same solution as this web project, am I right?
>> I don't know what framework was Web App targeted as I didn't deploy it on my local machine.
How did you run your web app? What do you mean “I didn't deploy it on my local machine”?
If you could open your project in solution explorer window, just right click it->Properties, and then you could get the Target Framework settings under the properties option like the following screen shot (it is the VS2010, but I think you could get it under your VS2008).
As far as I know, the references assemblies would be in the Bin folder of your web project, could you get the dll file there?
Please clean and rebuild the specific web project and the class library (not the whole solution), and then remove the references and re-add this assembly again. Test the result.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Thursday, January 15, 2015 5:12 PM
Hi Jack,
As I understand, it is a Web Site project. PFB the property Pages of the Project
The Web site was deployed to a DOTNET 3.5 framework. I didn't create a local site in IIS and deployed the website there, thats what I meant by deploying on my local machine.
The required dll files are there in bin folder of the Project.
K.V.N.PAVAN
Thursday, January 22, 2015 9:29 AM
Hi K.V.N.PAVAN,
Any update? Would you mind letting us know the latest information about this issue?
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.