.net core package dependencies
问题 I'm wanting to build a native .NET Core executable that I can deploy but when I publish the project, the compiler exports all the dependencies into the same directory and the executable needs them to run on a system that doesn't have .NET Core runtime installed. Is there a way to compile/package the DLL's in with the project DLL or executable? Thanks. 回答1: For merging dependencies into the compiled assembly, check out Costura for Fody: https://github.com/Fody/Fody https://github.com/Fody