Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- VersionOverride on a per-project <PackageReference> can be used
when a single project legitimately needs a different version
(e.g. tests targeting net470 that cannot consume the newest
Microsoft.NET.Test.Sdk / xunit).
test tooling).

Docs: https://learn.microsoft.com/nuget/consume-packages/central-package-management
-->
Expand All @@ -27,8 +27,9 @@
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="Azure.Identity" Version="1.17.1" />
<PackageVersion Include="coverlet.collector" Version="3.2.0" />
<PackageVersion Include="Azure.Identity" Version="1.21.0" />
<PackageVersion Include="coverlet.collector" Version="10.1.0" />
<!-- Newer Roslyn packages bring analyzers that require a compiler newer than the .NET 8 SDK. -->
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<!--
Expand All @@ -37,23 +38,23 @@
Base64Url decoding). Pulled in transitively via the
System.Text.Json 10.x graph. Patched in 10.0.4.
-->
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.4" />
<PackageVersion Include="Microsoft.Extensions.AI" Version="10.2.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.2" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="10.0.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.71.0" />
<PackageVersion Include="Microsoft.TypeChat" Version="0.1.231012.1-preview" />
<PackageVersion Include="Microsoft.TypeChat.Program" Version="0.1.231012.1-preview" />
<PackageVersion Include="Microsoft.TypeChat.SemanticKernel" Version="0.1.231012.1-preview" />
<PackageVersion Include="System.CommandLine" Version="2.0.1" />
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.14" />
<PackageVersion Include="Microsoft.Extensions.AI" Version="10.11.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.14" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="10.0.14" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.81.0" />
<PackageVersion Include="Microsoft.TypeChat" Version="0.1.240227.3-preview" />
<PackageVersion Include="Microsoft.TypeChat.Program" Version="0.1.240227.3-preview" />
<PackageVersion Include="Microsoft.TypeChat.SemanticKernel" Version="0.1.240227.3-preview" />
<PackageVersion Include="System.CommandLine" Version="2.0.14" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageVersion Include="System.Linq" Version="4.3.0" />
<PackageVersion Include="System.Numerics.Tensors" Version="10.0.2" />
<PackageVersion Include="System.Text.Json" Version="10.0.2" />
<PackageVersion Include="System.Numerics.Tensors" Version="10.0.14" />
<PackageVersion Include="System.Text.Json" Version="10.0.14" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.61" />
<PackageVersion Include="xunit.runner.visualstudio" Version="4.0.1" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.85" />
</ItemGroup>

</Project>
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ so the projects use its SDK-provided implementation rather than overriding it wi
For [CVE-2026-62900](https://github.com/advisories/GHSA-23fw-v26w-5fgq), use a fixed .NET 8 SDK
(8.0.130 or 8.0.424, or later servicing releases), or a patched .NET 9/10 SDK.

Package versions are managed centrally in [Directory.Packages.props](./Directory.Packages.props).
Use stable releases where available; the published Microsoft.TypeChat packages are preview-only.
Microsoft.CodeAnalysis.CSharp stays on 5.0.0 so its transitive analyzers remain compatible with the .NET 8 SDK used in CI.
The legacy .NET Framework test project retains compatible test-tool versions through `VersionOverride`.
Restore audits both direct and transitive dependencies. To check for known vulnerabilities explicitly, run
`dotnet list TypeChat.sln package --vulnerable --include-transitive`.

## Nuget Packages

* Microsoft.Typechat [![](https://img.shields.io/nuget/dt/Microsoft.TypeChat.svg?label=downloads&color=007edf&logo=nuget)](https://www.nuget.org/packages/Microsoft.TypeChat)
Expand Down Expand Up @@ -213,6 +220,7 @@ To use TypeChat.net or run the examples, you need **either**:
* Go to the **[examples](./examples)** folder in the solution
* Make a copy of the [appSettings.json](./examples/appSettings.json) file and name it **appSettings.Development.json**. Ensure it is in the same folder as appSettings.json
* appSettings.Development.json is a local development only override of the settings in appSettings.json and is **never** checked in.
* When no local override exists, builds copy the default settings into each project's output directory instead of creating a shared development settings file.
* Add your **Api Key** to **appSettings.Development.json**.
* To use Azure identity: use the well-known key **"identity"**. The code will use access tokens returned by the default Azure credentials: [DefaultAzureCredential](https://learn.microsoft.com/en-us/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet). You can provide these using **az login**.

Expand Down
10 changes: 7 additions & 3 deletions examples/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<Project>
<Target Name="BeforeBuild">
<Copy SourceFiles="..\appSettings.json" DestinationFiles="..\appSettings.Development.json"
Condition="!Exists('..\appSettings.Development.json')"/>
<Target Name="CopyDefaultDevelopmentSettings" AfterTargets="CopyFilesToOutputDirectory"
Condition="!Exists('$(MSBuildThisFileDirectory)appSettings.Development.json')">
<Copy SourceFiles="$(MSBuildThisFileDirectory)appSettings.json"
DestinationFiles="$(TargetDir)appSettings.Development.json" />
<ItemGroup>
<FileWrites Include="$(TargetDir)appSettings.Development.json" />
</ItemGroup>
</Target>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/TypeChat.Tests.Pre6/TypeChat.Tests.Pre6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector">
<PackageReference Include="coverlet.collector" VersionOverride="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Loading