SharpTS.Hosting 1.0.11-rc.3

This is a prerelease version of SharpTS.Hosting.
dotnet add package SharpTS.Hosting --version 1.0.11-rc.3
                    
NuGet\Install-Package SharpTS.Hosting -Version 1.0.11-rc.3
                    
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="SharpTS.Hosting" Version="1.0.11-rc.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpTS.Hosting" Version="1.0.11-rc.3" />
                    
Directory.Packages.props
<PackageReference Include="SharpTS.Hosting" />
                    
Project file
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 SharpTS.Hosting --version 1.0.11-rc.3
                    
#r "nuget: SharpTS.Hosting, 1.0.11-rc.3"
                    
#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.
#:package SharpTS.Hosting@1.0.11-rc.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SharpTS.Hosting&version=1.0.11-rc.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SharpTS.Hosting&version=1.0.11-rc.3&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 39 8/11/2026
1.0.11-rc.2 35 8/11/2026
1.0.11-rc.1 43 8/10/2026
1.0.9-preview.1 49 8/9/2026