Deploying WPF Application with 3rd Party DLLs

后端 未结 6 1032
失恋的感觉
失恋的感觉 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:13

    You could try this which solved a similar issue for me:

    Add the DLL's that are not .NET libraries to the solution as files:

    Right click project > Add > Existing Item
    

    Then set their build action to Content and "Copy to output directory" to "Copy Always".

    That way the libraries will be included in the output directory.

提交回复
热议问题