Deploying WPF Application with 3rd Party DLLs

后端 未结 6 1045
失恋的感觉
失恋的感觉 2020-12-03 05:37

I\'ve been extremely frustrated trying to deploy a C#/WPF application I\'ve created that has some references to 3rd party DLLs. I created a folder in the project, called

6条回答
  •  醉酒成梦
    2020-12-03 06:19

    Maybe you can work it out from the https://github.com/Code52/DownmarkerWPF sources?

    They have at least a working ClickOnce installer for their app embedding CefSharp. I know because that's the way it got installed on my machine!

    update just saw in comments that it's the VC Redist that you say you are missing then Distributing the Visual C++ Runtime Libraries (MSVCRT) seems relevant.

    Also I seem to remember something vaguely about that for "VCRedist reasons" you are not supposed to distribute debug versions of your application. Can't you just switch from a Debug to a Release version? With this I think you can either bundle the needed VCRedist files as suggested in the CefSharp FAQ or add VCRedist as a prerequisite in your installer. DownmarkerWPF does it with their WIX installer setup which you can find on a branch in their GitHub repo. Something similar is AFAIK possible with the VStudio bundled installer if that's what you use.

提交回复
热议问题