Setup/Deployment Warning: Unable to find dependency... [solved]
-
Hi, I'm trying to get a Setup Project to build, and it does but with two Warnings saying:
"Unable to find dependency 'MY_WCF_SERVICE_LIBRARY' (Signature='(null)' Version='1.0.0.0' of Assembly 'My_WinForm_Assembly.exe'...
"Unable to find dependency 'MY_WCF_SERVICE_LIBRARY' (Signature='(null)' Version='1.0.0.0' of Assembly 'My_WCF_ServiceHost_Assembly.exe'...The solution also contains some C++ projects and my three .NET assemblies:* WCF Service Library [called
'MY_WCF_SERVICE_LIBRARY'
here]-
WCF Service Host [called
'My_WCF_ServiceHost_Assembly.exe'
here] -
WinForm client application [called
'My_WinForm_Assembly.exe'
here] using the WCF Service Library (referencing it) and consuming the WCF Service (which also references the WCF Library). Since our product not only contains .NET assemblies we build specifically for 32 and 64 bits OS (including my assemblies). So in the "Setup 32" project I have added the assemblies of the release build of my 32 bits .NET assemblies and in my "Setup 64" project the assemblies built for 64 bit. The Warning message shows up for both my 32 and 64 bit Setup project, and as you can see it's theWinForm
andWCF Service host
project's that says they can't find theWCF Service Library
. Does anyone know why I get these messages and how to configure my Setup to get rid of them? Additional info: I'm using VS2008, Windows XP SP3 (32 bit machine) and .NET 3.5modified on Wednesday, October 21, 2009 5:02 AM
-
-
Hi, I'm trying to get a Setup Project to build, and it does but with two Warnings saying:
"Unable to find dependency 'MY_WCF_SERVICE_LIBRARY' (Signature='(null)' Version='1.0.0.0' of Assembly 'My_WinForm_Assembly.exe'...
"Unable to find dependency 'MY_WCF_SERVICE_LIBRARY' (Signature='(null)' Version='1.0.0.0' of Assembly 'My_WCF_ServiceHost_Assembly.exe'...The solution also contains some C++ projects and my three .NET assemblies:* WCF Service Library [called
'MY_WCF_SERVICE_LIBRARY'
here]-
WCF Service Host [called
'My_WCF_ServiceHost_Assembly.exe'
here] -
WinForm client application [called
'My_WinForm_Assembly.exe'
here] using the WCF Service Library (referencing it) and consuming the WCF Service (which also references the WCF Library). Since our product not only contains .NET assemblies we build specifically for 32 and 64 bits OS (including my assemblies). So in the "Setup 32" project I have added the assemblies of the release build of my 32 bits .NET assemblies and in my "Setup 64" project the assemblies built for 64 bit. The Warning message shows up for both my 32 and 64 bit Setup project, and as you can see it's theWinForm
andWCF Service host
project's that says they can't find theWCF Service Library
. Does anyone know why I get these messages and how to configure my Setup to get rid of them? Additional info: I'm using VS2008, Windows XP SP3 (32 bit machine) and .NET 3.5modified on Wednesday, October 21, 2009 5:02 AM
I found the solution to my problem, and I'll post it here in case someone does the same mistake as I did.. In my Setup project under File System I had choose to add Assembly of my WinForm instead of Project Output, and I repeated this mistake for all of my three .NET assemblies. By adding them to the File System as Project Output instead of Assembly made the Warnings go away. :)
-
-
Hi, I'm trying to get a Setup Project to build, and it does but with two Warnings saying:
"Unable to find dependency 'MY_WCF_SERVICE_LIBRARY' (Signature='(null)' Version='1.0.0.0' of Assembly 'My_WinForm_Assembly.exe'...
"Unable to find dependency 'MY_WCF_SERVICE_LIBRARY' (Signature='(null)' Version='1.0.0.0' of Assembly 'My_WCF_ServiceHost_Assembly.exe'...The solution also contains some C++ projects and my three .NET assemblies:* WCF Service Library [called
'MY_WCF_SERVICE_LIBRARY'
here]-
WCF Service Host [called
'My_WCF_ServiceHost_Assembly.exe'
here] -
WinForm client application [called
'My_WinForm_Assembly.exe'
here] using the WCF Service Library (referencing it) and consuming the WCF Service (which also references the WCF Library). Since our product not only contains .NET assemblies we build specifically for 32 and 64 bits OS (including my assemblies). So in the "Setup 32" project I have added the assemblies of the release build of my 32 bits .NET assemblies and in my "Setup 64" project the assemblies built for 64 bit. The Warning message shows up for both my 32 and 64 bit Setup project, and as you can see it's theWinForm
andWCF Service host
project's that says they can't find theWCF Service Library
. Does anyone know why I get these messages and how to configure my Setup to get rid of them? Additional info: I'm using VS2008, Windows XP SP3 (32 bit machine) and .NET 3.5modified on Wednesday, October 21, 2009 5:02 AM
I recently faced the same problem and found the solution on my own which worked for me. I just checked the references list in the solutions explorer and found that there were two or more dependencies attached of the same reference. Eg. Assembly.dll is the main reference, but another reference like Assembly.design.dll was also attached. So i removed the Assembly.design.dll that solved the problem Hope this help:-)
-