Ansight.Tools.Preferences
1.7.0
dotnet add package Ansight.Tools.Preferences --version 1.7.0
NuGet\Install-Package Ansight.Tools.Preferences -Version 1.7.0
<PackageReference Include="Ansight.Tools.Preferences" Version="1.7.0" />
<PackageVersion Include="Ansight.Tools.Preferences" Version="1.7.0" />
<PackageReference Include="Ansight.Tools.Preferences" />
paket add Ansight.Tools.Preferences --version 1.7.0
#r "nuget: Ansight.Tools.Preferences, 1.7.0"
#:package Ansight.Tools.Preferences@1.7.0
#addin nuget:?package=Ansight.Tools.Preferences&version=1.7.0
#tool nuget:?package=Ansight.Tools.Preferences&version=1.7.0
Ansight.Tools.Preferences
Grouped shared-preferences and user-defaults tool registrations for the Ansight .NET SDK.
License
The Ansight SDK is source-available software under the PolyForm Shield 1.0.0. It permits use, modification and redistribution for purposes allowed by the licence, which excludes providing competing products. Local development features require no Ansight account or subscription.
Registered tools:
prefs.list_keysprefs.get_valueprefs.set_valueprefs.remove_key
Usage
using Ansight;
using Ansight.Tools.Preferences;
var options = Options.CreateBuilder()
.WithPreferencesTools(preferences =>
{
preferences.AllowKeyPrefix("ansight.");
})
.WithReadWriteToolAccess()
.Build();
prefs.remove_key uses ToolPolicy.Critical. Use WithAllToolAccess() or a
custom critical-enabled ToolGuard to execute it.
Restrictions
Preferences tools can be constrained at registration time:
AllowStore(...)/AllowStores(...)AllowKey(...)/AllowKeys(...)AllowKeyPrefix(...)/AllowKeyPrefixes(...)WithDefaultStore(...)
When a value is not a plain string, the tool returns a string representation and a valueType. string_array values are represented as JSON arrays encoded in the value field.
These tools are intended for local debugging only and may expose sensitive application data.
Build-time remote tool policy
Projects that reference this package are covered by AnsightRemoteToolsPolicy. The default AllowedWithWarnings policy logs detected tool type and assembly details and emits a build warning when remote tools are included. Because this package contains remote tools, Disallowed only succeeds when the package is omitted from that build, for example with Debug-only package references. Use Allowed to bypass remote tool scanning and warnings. Set AnsightLogRemoteTools=false to suppress the detected-tool list.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Ansight.Core (>= 1.7.0)
-
net9.0-android35.0
- Ansight.Core (>= 1.7.0)
-
net9.0-ios18.0
- Ansight.Core (>= 1.7.0)
-
net9.0-maccatalyst18.0
- Ansight.Core (>= 1.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ansight.Tools.Preferences:
| Package | Downloads |
|---|---|
|
Ansight
.NET and MAUI SDK for Ansight: runtime evidence from your app for coding agents. Screenshots, visual trees, logs, network, telemetry, and app state, with pairing and remote tools included. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.7.0 | 0 | 10/6/2026 |
| 1.6.3 | 75 | 10/1/2026 |
| 1.6.2 | 77 | 10/1/2026 |
| 1.6.1 | 128 | 9/23/2026 |
| 1.6.0 | 118 | 9/17/2026 |
| 1.5.0 | 120 | 9/14/2026 |
| 1.4.0 | 137 | 9/7/2026 |
| 1.4.0-preview.5 | 102 | 8/26/2026 |
| 1.4.0-preview.3 | 83 | 8/25/2026 |
| 1.4.0-preview.1 | 94 | 8/24/2026 |
| 1.3.0-preview.12 | 84 | 8/24/2026 |
| 1.3.0-preview.11 | 83 | 8/23/2026 |
| 1.3.0-preview.10 | 92 | 8/21/2026 |
| 1.3.0-preview.9 | 88 | 8/20/2026 |
| 1.3.0-preview.8 | 84 | 8/20/2026 |
| 1.3.0-preview.6 | 97 | 8/19/2026 |
| 1.3.0-preview.5 | 82 | 8/19/2026 |
| 1.3.0-preview.4 | 92 | 8/17/2026 |
| 1.3.0-preview.3 | 98 | 8/10/2026 |
| 1.3.0-preview.2 | 78 | 8/10/2026 |