alphacep / alphacep/vosk-api

Publishing for Linux runtime from Windows machine is broken

オープン
#1,159 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
15.1k
フォーク
1.8k
PR マージ指標
30日以内にマージされた PR はありません

説明

in the nuget targets (https://github.com/alphacep/vosk-api/blob/master/csharp/nuget/build/Vosk.targets), if checks [MSBuild]::IsOsPlatform to decide what library to copy to the output folder.

When publishing on a Windows machine, [MSBuild]::IsOsPlatform(Windows) is always true, regardless of the target runtime.

This means that running on a Windows machine a publish like
dotnet publish -c Release -o "centos-x64" --force --self-contained False -r linux-x64 -f net6.0

ends up with libvosk.dll instead of libvosk.so in the output folder

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。