I'm using VS Community 2015, with Setup Project extension. I've never seen this problem working with 2010. The problem is that when I add a project to the output, the Detected Dependencies list all dll's I've used in the project, including the built in ones:
After I run the installer, it then proceeds to install a hundred dll files, including files that should be part of .NET Framework, like:
- System.IO.dll
- System.Linq.dll
I made sure that:
- I have all my projects set to .NET 4.5.2
- inside Setup Project, I have the target .NET framework set to .NET 4.5.2
- inside Setup Project, I have the Prerequisite set to .NET 4.5.2
What am I doing wrong? How can I get the setup to install only the dll's that are not part of .NET Framework (like Caliburn, or NLog). Thanks.
EDIT 1: As per 'Claudius' question, here's a list of .NET frameworks supposedly installed on my machine. Note that, I'm trying to install on the same machine I'm developing on. My /bin/Release folder doesn't have any of the .NET .System directories and the application runs fine from there.
EDIT 2: Found another person with a similar problem. Sadly unsolved: Visual Studio Setup Project: Huge list of dependencies