sherpa-ncnn.csproj.runtime.in 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
  4. <PackageReadmeFile>README.md</PackageReadmeFile>
  5. <OutputType>Library</OutputType>
  6. <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
  7. <RuntimeIdentifier>{{ dotnet_rid }}</RuntimeIdentifier>
  8. <AssemblyName>sherpa-ncnn</AssemblyName>
  9. <Version>{{ version }}</Version>
  10. <PackageProjectUrl>https://github.com/k2-fsa/sherpa-ncnn</PackageProjectUrl>
  11. <RepositoryUrl>https://github.com/k2-fsa/sherpa-ncnn</RepositoryUrl>
  12. <PackageTags>speech recognition voice audio stt asr speech-to-text AI offline
  13. privacy open-sourced next-gen-kaldi k2 kaldi2 sherpa-ncnn</PackageTags>
  14. <!-- Nuget Properties -->
  15. <Description>.NET native {{ dotnet_rid }} wrapper for the sherpa-ncnn project.
  16. In general, you don't need to use this package directly.
  17. Please use https://www.nuget.org/packages/org.k2fsa.sherpa.ncnn instead
  18. </Description>
  19. <IncludeBuildOutput>false</IncludeBuildOutput>
  20. <!-- Pack Option -->
  21. <Title>sherpa-ncnn {{ dotnet_rid }} v{{ version }}</Title>
  22. <PackageId>org.k2fsa.sherpa.ncnn.runtime.{{ dotnet_rid }}</PackageId>
  23. <!-- Signing -->
  24. <SignAssembly>false</SignAssembly>
  25. <PublicSign>false</PublicSign>
  26. <DelaySign>false</DelaySign>
  27. </PropertyGroup>
  28. <ItemGroup>
  29. <None Include="../README.md" Pack="true" PackagePath="/"/>
  30. </ItemGroup>
  31. <ItemGroup>
  32. <!-- Native library must be in native directory... -->
  33. <!-- If project is built as a STATIC_LIBRARY (e.g. Windows) then we don't have to include it -->
  34. <Content Include="
  35. {{ libs }}
  36. ">
  37. <PackagePath>runtimes/{{ dotnet_rid }}/native/%(Filename)%(Extension)</PackagePath>
  38. <Pack>true</Pack>
  39. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  40. </Content>
  41. </ItemGroup>
  42. </Project>