Tip: System.Data.Entity and ClickOnce Deployment Issue
I was developing a Windows forms application in .net framework 3.5, and I needed to include ClickOnce Deployment in my solution project. Recently I downloaded and installed the last Service Pack (SP1) for Microsoft Visual Studio 2008 and .net framework 3.5, so far, everything was normal. The only application setup prerequisite was .net framework 3.5.
I published my application in a web server normally, and when I click the Install button to start the install process, I received the next error message from the ClickOnce Installer:
The funny thing is that I didn't have any reference to System.Data.Entity in my solution, so? what's wrong? Why was ClickOnce requesting this assembly?
Well, after a quick search in Google, I found and read this Post from Mat Steeples, and I understood why ClickOnce was referencing System.Data.Entity assembly, simple!, I included a new feature (Create a Desktop Icon) and that functionality requires the mentioned assembly.
Thanks to Mat Steeples for sharing it.