error when installing windows application on other pc

前端 未结 2 914
野性不改
野性不改 2021-01-29 08:22

I had windows application and I published it and I installed it in other pc and when I was installing in this error apeared(you cannot run application that require that assembly

相关标签:
2条回答
  • 2021-01-29 08:58

    Random guess...

    You need with either SQL Server native client or SQL Server SMO. or both

    0 讨论(0)
  • 2021-01-29 09:03

    You say "published" so I'm guessing it's a ClickOnce deployment.

    One gotcha of the automated ClickOnce deployment (at least, it was as of VS2008) is that it doesn't automatically pick up the dependencies of any projects you reference in the project you publish from - you have to add the references into your main project by hand, then they will be added to the manifest, and then deployed to client machines upon installation.

    Hope this helps.

    0 讨论(0)
提交回复
热议问题