SharpMetal 1.0.0-preview6
This is a prerelease version of SharpMetal.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SharpMetal --version 1.0.0-preview6
NuGet\Install-Package SharpMetal -Version 1.0.0-preview6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpMetal" Version="1.0.0-preview6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpMetal" Version="1.0.0-preview6" />
<PackageReference Include="SharpMetal" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SharpMetal --version 1.0.0-preview6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SharpMetal, 1.0.0-preview6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SharpMetal&version=1.0.0-preview6&prerelease
#tool nuget:?package=SharpMetal&version=1.0.0-preview6&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SharpMetal
Metal bindings for C#.
Why?
The .NET ecosystem is very much lacking a good Metal binding package. Existing options are out of date, or don't integrate well into cross-platform projects. This project aims to be a complete, up to date, package that stays true to the original API, while making the API easy to use and integrate into C#.
I want to contribute!
Wonderful! SharpMetal is built with .NET 7.0, and follows a couple of specific guidelines:
- Block Namespaces
- Source Generated P/Invokes
LibraryImport
notDllImport
- Use C# types where possible
NSInteger
→long
NSUInteger
→ulong
- Mark structs and classes with
SupportedOSPlatform
attribute - SharpMetal is built for macOS primarily so when there are platform specific differences, use the macOS option
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.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.
Version | Downloads | Last updated |
---|---|---|
1.0.0-preview21 | 17,461 | 12/28/2024 |
1.0.0-preview20 | 2,282 | 8/12/2024 |
1.0.0-preview19 | 72 | 8/12/2024 |
1.0.0-preview18 | 158 | 7/22/2024 |
1.0.0-preview14 | 514 | 5/23/2024 |
1.0.0-preview13 | 72 | 5/21/2024 |
1.0.0-preview12 | 251 | 3/20/2024 |
1.0.0-preview11 | 152 | 3/18/2024 |
1.0.0-preview10 | 81 | 3/4/2024 |