Skip to content

Conversation

@achandmsft
Copy link
Collaborator

@KrzysztofCwalina , Tested and made some fixes to the code to make it work. Please take a look.

  • Updated property directive format from 'PropertyName=Value' to 'PropertyName Value'
  • Fixed all sample .cs files in docs/guides to work with .NET 10 preview
  • Added comprehensive getting started documentation in docs/README.md
  • Enables successful execution of single-file C# applications with dotnet run

- Updated property directive format from 'PropertyName=Value' to 'PropertyName Value'
- Fixed all sample .cs files in docs/guides to work with .NET 10 preview
- Added comprehensive getting started documentation in docs/README.md
- Enables successful execution of single-file C# applications with dotnet run
- Streamlined the getting started guide for better clarity
- Focused on essential steps for running .NET 10 samples
- Improved readability and user experience
@achandmsft
Copy link
Collaborator Author

achandmsft commented Jun 27, 2025

@KrzysztofCwalina, Tested and made a minor change to the code samples to get it to work (removed an = in the property directive) and also updated the readme to be a bit more developer friendly, please take a look: #497

- Added '// GUIDANCE: Instructions to run this code: https://aka.ms/oai/net/start' to all .cs files
- Provides users with quick access to getting started documentation
- Consistent guidance across all sample files
@achandmsft achandmsft merged commit b8d4d6d into openai:main Jun 27, 2025
1 check passed
@achandmsft achandmsft deleted the fix-dotnet10-property-directives branch June 27, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants