Skip to content
Open
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
1 change: 0 additions & 1 deletion cookbook/dotnet/recipe/error-handling.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#:property PublishAot=false was removed here, but cookbook/dotnet/recipe/README.md still says each recipe includes that directive to disable AOT. Please update the README (and/or add a short note in these recipes) so users understand AOT is now enabled by default and how to opt out if needed.

Suggested change
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
// Note: AOT (PublishAot) is enabled by default for this recipe.
// To disable AOT for this sample, you can add the directive:
// #:property PublishAot=false

Copilot uses AI. Check for mistakes.
#:property PublishAot=false

using GitHub.Copilot.SDK;

Expand Down
1 change: 0 additions & 1 deletion cookbook/dotnet/recipe/managing-local-files.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#:property PublishAot=false was removed here, but cookbook/dotnet/recipe/README.md still says each recipe includes that directive to disable AOT. Please update the README (and/or add a short note in these recipes) so users understand AOT is now enabled by default and how to opt out if needed.

Suggested change
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
// Note: AOT is enabled by default for this recipe.
// To disable AOT (for example, during local development), add:
// #:property PublishAot=false

Copilot uses AI. Check for mistakes.
#:property PublishAot=false

using GitHub.Copilot.SDK;

Expand Down
1 change: 0 additions & 1 deletion cookbook/dotnet/recipe/multiple-sessions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
#:property PublishAot=false

Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#:property PublishAot=false was removed here, but cookbook/dotnet/recipe/README.md still says each recipe includes that directive to disable AOT. Please update the README (and/or add a short note in these recipes) so users understand AOT is now enabled by default and how to opt out if needed.

Suggested change
// Note: AOT is enabled by default. To disable AOT for this recipe, add:
// #:property PublishAot=false

Copilot uses AI. Check for mistakes.
using GitHub.Copilot.SDK;

Expand Down
1 change: 0 additions & 1 deletion cookbook/dotnet/recipe/persisting-sessions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
#:property PublishAot=false

Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#:property PublishAot=false was removed here, but cookbook/dotnet/recipe/README.md still says each recipe includes that directive to disable AOT. Please update the README (and/or add a short note in these recipes) so users understand AOT is now enabled by default and how to opt out if needed.

Suggested change
// Note: AOT (PublishAot) is enabled by default for this recipe.
// To disable AOT, add the following directive above:
// #:property PublishAot=false

Copilot uses AI. Check for mistakes.
using GitHub.Copilot.SDK;

Expand Down
1 change: 0 additions & 1 deletion cookbook/dotnet/recipe/pr-visualization.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj
#:property PublishAot=false

Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#:property PublishAot=false was removed here, but cookbook/dotnet/recipe/README.md still says each recipe includes that directive to disable AOT. Please update the README (and/or add a short note in these recipes) so users understand AOT is now enabled by default and how to opt out if needed.

Suggested change
// NOTE: This recipe publishes with Native AOT enabled by default.
// To disable AOT for this recipe (for example, if you hit platform or tooling
// limitations), add the following directive at the top of this file:
//
// #:property PublishAot=false
//
// This overrides the default and publishes a non-AOT binary instead.

Copilot uses AI. Check for mistakes.
using System.Diagnostics;
using GitHub.Copilot.SDK;
Expand Down
Loading