Akash Gajbhiye
Akash Gajbhiye

Reputation: 335

C# windows application build not running

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

enter image description here enter image description here

Upvotes: 0

Views: 734

Answers (1)

Akash Gajbhiye
Akash Gajbhiye

Reputation: 335

downloaded and ssqllocalDB from here installed it manually and application works fine now.

Upvotes: 0

Related Questions