SharpTS.Hosting
1.0.11-rc.3
dotnet add package SharpTS.Hosting --version 1.0.11-rc.3
NuGet\Install-Package SharpTS.Hosting -Version 1.0.11-rc.3
<PackageReference Include="SharpTS.Hosting" Version="1.0.11-rc.3" />
<PackageVersion Include="SharpTS.Hosting" Version="1.0.11-rc.3" />
<PackageReference Include="SharpTS.Hosting" />
paket add SharpTS.Hosting --version 1.0.11-rc.3
#r "nuget: SharpTS.Hosting, 1.0.11-rc.3"
#:package SharpTS.Hosting@1.0.11-rc.3
#addin nuget:?package=SharpTS.Hosting&version=1.0.11-rc.3&prerelease
#tool nuget:?package=SharpTS.Hosting&version=1.0.11-rc.3&prerelease
SharpTS.Hosting
SharpTS.Hosting builds a Native AOT SharpTS executable with a closed, generated
.NET interop catalog. It is for applications that need selected BCL or
application-library types in dotnet: imports without enabling open-world
reflection.
Declare each allowed C# type as an MSBuild item. Set Assembly for types from a
class library so its managed DLL and copy-local dependency closure are embedded
for SharpTS --compile output:
<ItemGroup>
<SharpTSNativeInteropType Include="MyCompany.Widget"
Assembly="MyCompany.Library"
Alias="Widget" />
</ItemGroup>
Start SharpTS from the generated catalog:
return SharpTSCli.Run(args, SharpTS.Generated.GeneratedNativeDotNetCatalog.Instance);
Only the declared runtime types are bindable. Open-ended DLL loading, arbitrary
generic construction, --gen-decl, and IL verification remain managed-only.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.ILVerification (>= 10.0.0)
- NickNa.PEPacker (>= 1.0.6)
- NuGet.Packaging (>= 7.3.1)
- NuGet.Protocol (>= 7.3.1)
- PrettyPrompt (>= 4.1.1)
- System.Reflection.MetadataLoadContext (>= 9.0.0)
- ZstdSharp.Port (>= 0.8.1)
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.11-rc.3 | 34 | 8/11/2026 |
| 1.0.11-rc.2 | 33 | 8/11/2026 |
| 1.0.11-rc.1 | 39 | 8/10/2026 |
| 1.0.9-preview.1 | 47 | 8/9/2026 |