diff --git a/cookbook/dotnet/recipe/README.md b/cookbook/dotnet/recipe/README.md index 8394e426..e4601ef5 100644 --- a/cookbook/dotnet/recipe/README.md +++ b/cookbook/dotnet/recipe/README.md @@ -4,7 +4,7 @@ This folder contains standalone, executable C# examples for each cookbook recipe ## Prerequisites -- .NET 9.0 or later +- .NET 10.0 or later - GitHub Copilot SDK package (referenced automatically) ## Running Examples @@ -48,8 +48,6 @@ These examples use .NET's file-based app feature, which allows single-file C# pr - Automatically reference common packages - Support top-level statements -Each file includes `#:property PublishAot=false` to disable AOT compilation, ensuring compatibility with the Copilot SDK. - ## Learning Resources - [.NET File-Based Apps Documentation](https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps) diff --git a/cookbook/dotnet/recipe/error-handling.cs b/cookbook/dotnet/recipe/error-handling.cs index 957e6649..a75f6411 100644 --- a/cookbook/dotnet/recipe/error-handling.cs +++ b/cookbook/dotnet/recipe/error-handling.cs @@ -1,5 +1,4 @@ #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj -#:property PublishAot=false using GitHub.Copilot.SDK; diff --git a/cookbook/dotnet/recipe/managing-local-files.cs b/cookbook/dotnet/recipe/managing-local-files.cs index 17e31687..05df5cca 100644 --- a/cookbook/dotnet/recipe/managing-local-files.cs +++ b/cookbook/dotnet/recipe/managing-local-files.cs @@ -1,5 +1,4 @@ #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj -#:property PublishAot=false using GitHub.Copilot.SDK; diff --git a/cookbook/dotnet/recipe/multiple-sessions.cs b/cookbook/dotnet/recipe/multiple-sessions.cs index 31f88be3..e9f70079 100644 --- a/cookbook/dotnet/recipe/multiple-sessions.cs +++ b/cookbook/dotnet/recipe/multiple-sessions.cs @@ -1,5 +1,4 @@ #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj -#:property PublishAot=false using GitHub.Copilot.SDK; diff --git a/cookbook/dotnet/recipe/persisting-sessions.cs b/cookbook/dotnet/recipe/persisting-sessions.cs index 7b5af350..98fa71ef 100644 --- a/cookbook/dotnet/recipe/persisting-sessions.cs +++ b/cookbook/dotnet/recipe/persisting-sessions.cs @@ -1,5 +1,4 @@ #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj -#:property PublishAot=false using GitHub.Copilot.SDK; diff --git a/cookbook/dotnet/recipe/pr-visualization.cs b/cookbook/dotnet/recipe/pr-visualization.cs index 256c9240..6c2f9459 100644 --- a/cookbook/dotnet/recipe/pr-visualization.cs +++ b/cookbook/dotnet/recipe/pr-visualization.cs @@ -1,5 +1,4 @@ #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj -#:property PublishAot=false using System.Diagnostics; using GitHub.Copilot.SDK;