When I publish a ClickOnce application, one of the references that is included in one of my projects is missing.
If I go to my project's Properties -> Application Files, this missing reference is not even listed here.
My bin/Release folder has an .exe.manifest file, and I noticed it that it is also missing from here.
However, when I build the project, the DLL is in fact copied to my bin/Release folder.
How can I ensure it also deploys this required dependency?
I finally found a solution for this problem and I hope it will solve your problem to. In my case, I'm editing an old application at work which have multiple projects, but the main project and it's back end project are the most important here. The back end is added in the References section of the main project. In the back end, a third party dll was imported, but this dll requires 2 other dlls. So those 3 dlls were added in the References section of the back end project.
At that point, one of the 2 other dlls was not showing in the Application Files section for ClickOnce. I've come up with a couple of ways of fixing it, but the most elegant one was to add this dll in the Reference section of the main project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With