When I publish windows forms application it runs just fine on the machine I have developed it on.. but when I put it on another laptop it doesn't work. Double clicking on .exe files gives no error and nothing happens I have a local db in my application. connection string is "Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True
publish setting are like this

