简体   繁体   English

在.exe中包含Nuget依赖项

[英]Include Nuget dependencies in .exe

I am building a Windows Forms application that can take snapshot from webcam, I'm using OpenCvSharp3-AnyCPU package.我正在构建一个可以从网络摄像头拍摄快照的 Windows Forms 应用程序,我正在使用 OpenCvSharp3-AnyCPU package。

Is there a way to include this package in the.exe file?有没有办法在 .exe 文件中包含这个 package ?

Thanx谢谢

You can use Costura Fody to embed third-party libraries into your exe.您可以使用Costura Fody将第三方库嵌入到您的 exe 中。 If you can use .net core there is a new feature called single exe如果您可以使用 .net 内核,则有一个新功能称为单个 exe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM