DnSrtSharp 1.0.10
dotnet add package DnSrtSharp --version 1.0.10
NuGet\Install-Package DnSrtSharp -Version 1.0.10
<PackageReference Include="DnSrtSharp" Version="1.0.10" />
paket add DnSrtSharp --version 1.0.10
#r "nuget: DnSrtSharp, 1.0.10"
// Install DnSrtSharp as a Cake Addin #addin nuget:?package=DnSrtSharp&version=1.0.10 // Install DnSrtSharp as a Cake Tool #tool nuget:?package=DnSrtSharp&version=1.0.10
DisplayNote's class library project to create customized SRTSHARP's nuget package
Class library to create custom srtsharp nuget package:
- Current version: v1.0.10
- Based on: https://www.nuget.org/packages/SrtSharp/*
Prerequisites:
- Clone https://github.com/DisplayNote/srt_swig/tree/master-swig
- Run required platform scripts. In our case Windows + Android ones. (Don't forget to run Android script within Windows WSL linux environment.)
- https://github.com/DisplayNote/srt_swig/blob/master-swig/scripts/build-windows.ps1
- https://github.com/DisplayNote/srt_swig/blob/master-swig/scripts/build-android/build-android
Steps
1.- Create nuget architecture scaffolding: ref folder to provide compile time assembly. within sub-folders named
{platform}-{architecture}\lib\{framework}
or
{platform}-{architecture}\native
And include previously gathered files from running required platform scripts. 2.- Add C++ srt header files in sources folder. (Make sure overwriting any header file in sources folder if changes in srt_swig header files)
3.- Configure .csproj, .props, .targets and .nuspec files.
Install / Uninstall
To install nuget packages with Package Manager Console: Go to Tools >> Nuget Package Manager >> Package Manager Console. And then run:
Install-package DNSrtSharp
or uninstall:
Uninstall-package DNSrtSharp
You can also configure a local package source folder: Go to Tools >> Options >> Nuget Package Manager >> Package sources. Add a local folder and then you'll be able to manage project or solution nuget packages as usual setting package source selector to All or LocalPackages.
Resources
- https://learn.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks#architecture-specific-folders
- https://learn.microsoft.com/en-us/nuget/reference/target-frameworks#supported-frameworks
- https://learn.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-visual-studio?tabs=netcore-cli
- https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-powershell
- https://learn.microsoft.com/en-us/dotnet/core/rid-catalog
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.