When I publish my .Net Core 6 project to a container, the blink binaries are copied to the root of the output path instead of to the runtimes/linux/native folder.
<PackageReference Include="Syncfusion.HtmlToPdfConverter.Net.Linux" Version="21.2.5" />
This occurs locally if I run:
dotnet publish -c Release -r linux-x64 --self-contained
or when I public to a container in my CI pipeline:
On further analysis, when publishing the project without setting the runtime identifier (-r linux-x64 --self-contained), it will be published in the same structure.
If you want to set the runtime identifier, please set the runtime identifier and set the root folder as blinkpath in the blink converter settings.
thanks for your reply.
the files in the locales folder are also placed in the root of bin. should I expect any problems with this?
also, do you intend to fix this behavior?
Queries | Response |
| the files in the locales folder are also placed in the root of bin. should I expect any problems with this? | No, we already ensured the conversion with this, there is no issues related to conversion.
|
| also, do you intend to fix this behavior? | The runtime and native file copying are .NET behavior. So, we could not handle this in our side. |
do you intend to contact Microsoft about this behavior?
The runtime file copying is a.NET behaviour that we can't control, but there is no issue in our conversion due to the file copying structure. Whether we set the runtime behaviour or not, it will work properly in the Volume 2 release.