我正在使用 net core 2.1 ,并且在我的项目中有一个nuget依赖项,该依赖项会在“ / runtimes / linux-x64 / native”文件夹下生成一些“ .so”文件(Linux二进制文件),使用此命令:
dotnet publish --output Published_Folder -r rhel.7-x64
我想执行dotnet publish
命令,但是要避免生成此文件,有什么办法吗?
重要:我无法更改-r
参数。
我正在使用 net core 2.1 ,并且在我的项目中有一个nuget依赖项,该依赖项会在“ / runtimes / linux-x64 / native”文件夹下生成一些“ .so”文件(Linux二进制文件),使用此命令:
dotnet publish --output Published_Folder -r rhel.7-x64
我想执行dotnet publish
命令,但是要避免生成此文件,有什么办法吗?
重要:我无法更改-r
参数。