更新时间:2022-12-21 15:25:28
如果花费的时间比在发布模式下构建所需的时间长,请通过安装Microsoft.Net.Native.Compiler
使用nuget版本的.net native .在项目中 nuget上的包并照常重建.此解决方案可以解决您目前遇到的同样的问题.
If it took way longer than you expected to build in release mode, use nuget version of .net native by installing Microsoft.Net.Native.Compiler
package on nuget in your project and re-build it as usual. This solution solves the very same problem you have now in my experience.