I created a .NET app using VS 2010 that uses SMO to do some database stuff. I have added all the references to make everything work properly on my machine. I then created a Setup project and included the output of my windows app project and it gets all the dependencies and adds all the Microsoft.SqlServer assemblies that I have referenced.
When I install the app on another machine, all the dlls get installed. But as soon as I call a on my class that uses the SMO stuff, I get an File Not Found exception. It says that it cannot load my assembly because of a missing dependency. I cannot figure out what is missing.
Any ideas?