Repository navigation
Fix version references to use updated language and tool versions - #12425
Conversation
|
All changed packages have been documented.
Show changes
|
commit: |
There was a problem hiding this comment.
🟡 Changes recommended
The custom-scaffolding test still expects net10.0 instead of the emitted net10.0-windows, and the server package’s documentation change lacks a required changelog entry.
2 open issues
What changed in this PR
This PR updates C# client scaffolding and validation projects to .NET 10 for #12387, preserving netstandard2.0 compatibility. It also refreshes tool prerequisites and emitter documentation across the repository.
Changes:
- Retargets generated C# clients and tests to .NET 10 and adds framework assertions.
- Updates documented Node.js, Python, .NET, PowerShell, and package versions.
- Clarifies that C# server scaffolding still targets .NET 9 and adds .NET 10 migration guidance.
Paths beginning with Spector/ below are relative to packages/http-client-csharp/generator/TestProjects/Spector/.
| File | Description |
|---|---|
| website/src/content/docs/docs/getting-started/code-generation-csharp.md | Updates prerequisites and server migration guidance. |
| website/src/content/docs/docs/extending-typespec/basics.md | Refreshes example dependency versions. |
| website/src/content/docs/docs/emitters/servers/http-server-csharp/project.md | Clarifies server targets and migration guidance. |
| website/src/content/docs/docs/emitters/clients/introduction.mdx | Updates versions, prerequisites, and preview wording. |
| website/src/content/docs/docs/emitters/clients/http-client-java/reference/emitter.md | Expands nested option documentation. |
| packages/prettier-plugin-typespec/README.md | Updates Node.js and editor prerequisites. |
| packages/http-server-csharp/test/snapshots/sample-service/docs/usage.md | Updates generated documentation snapshot. |
| packages/http-server-csharp/test/generation.test.ts | Checks generated framework guidance. |
| packages/http-server-csharp/src/components/scaffolding/documentation.tsx | Adds migration guidance to generated documentation. |
| packages/http-server-csharp/docs/usage.md | Updates server framework guidance. |
| packages/http-client-python/ARCHITECTURE.md | Updates Node.js and Python prerequisites. |
| packages/http-client-java/README.md | Updates Node.js prerequisite. |
| packages/http-client-java/CONTRIBUTING.md | Updates contributor Node.js prerequisite. |
| packages/http-client-java/.tspd/docs/usage.md | Updates Node.js and clarifies Maven usage. |
| packages/http-client-csharp/readme.md | Updates Node.js and .NET prerequisites. |
| Spector/http/versioning/typeChangedFrom/v2/tests/Versioning.TypeChangedFrom.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/typeChangedFrom/v2/src/Versioning.TypeChangedFrom.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/typeChangedFrom/v1/tests/Versioning.TypeChangedFrom.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/typeChangedFrom/v1/src/Versioning.TypeChangedFrom.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/returnTypeChangedFrom/v2/tests/Versioning.ReturnTypeChangedFrom.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/returnTypeChangedFrom/v2/src/Versioning.ReturnTypeChangedFrom.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/returnTypeChangedFrom/v1/tests/Versioning.ReturnTypeChangedFrom.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/returnTypeChangedFrom/v1/src/Versioning.ReturnTypeChangedFrom.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/renamedFrom/v2/tests/Versioning.RenamedFrom.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/renamedFrom/v2/src/Versioning.RenamedFrom.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/renamedFrom/v1/tests/Versioning.RenamedFrom.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/renamedFrom/v1/src/Versioning.RenamedFrom.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/removed/v2Preview/tests/Versioning.Removed.V2Preview.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/removed/v2Preview/src/Versioning.Removed.V2Preview.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/removed/v2/tests/Versioning.Removed.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/removed/v2/src/Versioning.Removed.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/removed/v1/tests/Versioning.Removed.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/removed/v1/src/Versioning.Removed.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/madeOptional/v2/tests/Versioning.MadeOptional.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/madeOptional/v2/src/Versioning.MadeOptional.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/madeOptional/v1/tests/Versioning.MadeOptional.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/madeOptional/v1/src/Versioning.MadeOptional.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/added/v2/tests/Versioning.Added.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/added/v2/src/Versioning.Added.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/versioning/added/v1/tests/Versioning.Added.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/versioning/added/v1/src/Versioning.Added.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/union/tests/Type.Union.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/union/src/Type.Union.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/scalar/tests/Type.Scalar.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/scalar/src/Type.Scalar.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/property/value-types/tests/Type.Property.ValueTypes.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/property/value-types/src/Type.Property.ValueTypes.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/property/optionality/tests/Type.Property.Optional.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/property/optionality/src/Type.Property.Optional.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/property/nullable/tests/Type.Property.Nullable.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/property/nullable/src/Type.Property.Nullable.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/property/additional-properties/tests/Type.Property.AdditionalProperties.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/property/additional-properties/src/Type.Property.AdditionalProperties.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/visibility/tests/Type.Model.Visibility.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/visibility/src/Type.Model.Visibility.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/usage/tests/Type.Model.Usage.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/usage/src/Type.Model.Usage.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/inheritance/single-discriminator/tests/Type.Model.Inheritance.SingleDiscriminator.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/inheritance/single-discriminator/src/Type.Model.Inheritance.SingleDiscriminator.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/inheritance/recursive/tests/Type.Model.Inheritance.Recursive.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/inheritance/recursive/src/Type.Model.Inheritance.Recursive.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/inheritance/not-discriminated/tests/Type.Model.Inheritance.NotDiscriminated.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/inheritance/not-discriminated/src/Type.Model.Inheritance.NotDiscriminated.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/inheritance/nested-discriminator/tests/Type.Model.Inheritance.NestedDiscriminator.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/inheritance/nested-discriminator/src/Type.Model.Inheritance.NestedDiscriminator.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/inheritance/enum-discriminator/tests/Type.Model.Inheritance.EnumDiscriminator.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/inheritance/enum-discriminator/src/Type.Model.Inheritance.EnumDiscriminator.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/model/empty/tests/Type.Model.Empty.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/model/empty/src/Type.Model.Empty.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/enum/fixed/tests/Type.Enum.Fixed.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/enum/fixed/src/Type.Enum.Fixed.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/enum/extensible/tests/Type.Enum.Extensible.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/enum/extensible/src/Type.Enum.Extensible.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/dictionary/tests/Type.Dictionary.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/dictionary/src/Type.Dictionary.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/type/array/tests/Type.Array.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/type/array/src/Type.Array.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/streaming/sse/tests/Streaming.Sse.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/streaming/sse/src/Streaming.Sse.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/streaming/jsonl/tests/Streaming.Jsonl.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/streaming/jsonl/src/Streaming.Jsonl.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/special-words/tests/SpecialWords.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/special-words/src/SpecialWords.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/special-headers/repeatability/tests/SpecialHeaders.Repeatability.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/special-headers/repeatability/src/SpecialHeaders.Repeatability.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/special-headers/conditional-request/tests/SpecialHeaders.ConditionalRequest.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/special-headers/conditional-request/src/SpecialHeaders.ConditionalRequest.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/service/multiple-services/tests/Service.MultipleServices.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/service/multiple-services/src/Service.MultipleServices.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/server/versions/versioned/tests/Server.Versions.Versioned.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/server/versions/versioned/src/Server.Versions.Versioned.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/server/versions/not-versioned/tests/Server.Versions.NotVersioned.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/server/versions/not-versioned/src/Server.Versions.NotVersioned.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/server/path/single/tests/Server.Path.Single.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/server/path/single/src/Server.Path.Single.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/server/path/multiple/tests/Server.Path.Multiple.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/server/path/multiple/src/Server.Path.Multiple.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/server/endpoint/not-defined/tests/Server.Endpoint.NotDefined.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/server/endpoint/not-defined/src/Server.Endpoint.NotDefined.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/serialization/encoded-name/json/tests/Serialization.EncodedName.Json.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/serialization/encoded-name/json/src/Serialization.EncodedName.Json.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/routes/tests/Routes.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/routes/src/Routes.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/response/status-code-range/tests/Response.StatusCodeRange.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/response/status-code-range/src/Response.StatusCodeRange.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/response/body-or-no-content/tests/Response.BodyOrNoContent.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/response/body-or-no-content/src/Response.BodyOrNoContent.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/resiliency/srv-driven/v2/tests/Resiliency.SrvDriven.V2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/resiliency/srv-driven/v2/src/Resiliency.SrvDriven.V2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/resiliency/srv-driven/v1/tests/Resiliency.SrvDriven.V1.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/resiliency/srv-driven/v1/src/Resiliency.SrvDriven.V1.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/xml/tests/Payload.Xml.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/xml/src/Payload.Xml.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/pageable/tests/Payload.Pageable.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/pageable/src/Payload.Pageable.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/multipart/tests/Payload.MultiPart.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/multipart/src/Payload.MultiPart.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/media-type/tests/Payload.MediaType.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/media-type/src/Payload.MediaType.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/json-merge-patch/tests/Payload.JsonMergePatch.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/json-merge-patch/src/Payload.JsonMergePatch.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/head/tests/Payload.Head.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/head/src/Payload.Head.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/payload/content-negotiation/tests/Payload.ContentNegotiation.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/payload/content-negotiation/src/Payload.ContentNegotiation.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/spread/tests/Parameters.Spread.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/spread/src/Parameters.Spread.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/query/tests/Parameters.Query.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/query/src/Parameters.Query.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/path/tests/Parameters.Path.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/path/src/Parameters.Path.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/collection-format/tests/Parameters.CollectionFormat.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/collection-format/src/Parameters.CollectionFormat.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/body-root/tests/Parameters.BodyRoot.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/body-root/src/Parameters.BodyRoot.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/body-optionality/tests/Parameters.BodyOptionality.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/body-optionality/src/Parameters.BodyOptionality.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/parameters/basic/tests/Parameters.Basic.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/parameters/basic/src/Parameters.Basic.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/encode/numeric/tests/Encode.Numeric.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/encode/numeric/src/Encode.Numeric.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/encode/duration/tests/Encode.Duration.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/encode/duration/src/Encode.Duration.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/encode/datetime/tests/Encode.Datetime.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/encode/datetime/src/Encode.Datetime.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/encode/bytes/tests/Encode.Bytes.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/encode/bytes/src/Encode.Bytes.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/encode/boolean/tests/Encode.Boolean.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/encode/boolean/src/Encode.Boolean.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/encode/array/tests/Encode.Array.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/encode/array/src/Encode.Array.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/documentation/tests/Documentation.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/documentation/src/Documentation.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/client/structure/two-operation-group/tests/Client.Structure.Service.TwoOperationGroup.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/client/structure/two-operation-group/src/Client.Structure.Service.TwoOperationGroup.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/client/structure/renamed-operation/tests/Client.Structure.Service.Renamed.Operation.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/client/structure/renamed-operation/src/Client.Structure.Service.Renamed.Operation.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/client/structure/multi-client/tests/Client.Structure.Service.Multi.Client.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/client/structure/multi-client/src/Client.Structure.Service.Multi.Client.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/client/structure/default/tests/Client.Structure.Service.Default.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/client/structure/default/src/Client.Structure.Service.Default.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/client/structure/client-operation-group/tests/Client.Structure.Service.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/client/structure/client-operation-group/src/Client.Structure.Service.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/azure/client-generator-core/response-replacement/tests/_Specs_.Azure.ClientGenerator.Core.ResponseReplacement.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/azure/client-generator-core/response-replacement/src/_Specs_.Azure.ClientGenerator.Core.ResponseReplacement.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/azure/client-generator-core/response-as-bool/tests/_Specs_.Azure.ClientGenerator.Core.ResponseAsBool.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/azure/client-generator-core/response-as-bool/src/_Specs_.Azure.ClientGenerator.Core.ResponseAsBool.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/authentication/union/tests/Authentication.Union.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/authentication/union/src/Authentication.Union.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/authentication/oauth2/tests/Authentication.OAuth2.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/authentication/oauth2/src/Authentication.OAuth2.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/authentication/http/custom/tests/Authentication.Http.Custom.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/authentication/http/custom/src/Authentication.Http.Custom.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/http/authentication/api-key/tests/Authentication.ApiKey.Tests.csproj | Targets tests to .NET 10. |
| Spector/http/authentication/api-key/src/Authentication.ApiKey.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| Spector/Directory.Build.props | Sets shared validation target to .NET 10. |
| packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tests/SampleTypeSpec.Tests.csproj | Targets sample tests to .NET 10. |
| packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/SampleTypeSpec.csproj | Targets .NET 10; retains .NET Standard 2.0. |
| packages/http-client-csharp/generator/TestProjects/Local/Directory.Build.props | Sets local validation target to .NET 10. |
| packages/http-client-csharp/generator/README.md | Documents the pinned .NET 10 SDK. |
| packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Primitives/NewProjectScaffoldingTests.cs | Updates framework expectations and custom target fixture. |
| packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Primitives/NewProjectScaffolding.cs | Emits .NET 10 client and test projects. |
| packages/http-client-csharp/generator/docs/spector.md | Labels old example output as historical. |
| packages/http-client-csharp/eng/scripts/docs/RegenPreview.md | Recommends supported PowerShell releases. |
| packages/http-client-csharp/CONTRIBUTING.md | Updates contributor tool prerequisites. |
| packages/http-client-csharp/.tspd/docs/usage.md | Updates prerequisite documentation source. |
Review effort: Balanced
Python emitter diffBaseline No changes to generated output. Rendered diff: inline on the run summary, or the emitter-diff-html artifact. Informational check (eng/emitter-diff); does not block the PR. |
|
You can try these changes here
|
Jorge Rangel (jorgerangel-msft)
left a comment
There was a problem hiding this comment.
I see we don't have this in the contributed guide, but as a sanity test, can we trigger a regen preview from https://dev.azure.com/azure-sdk/internal/_build?definitionId=6871 ? This will regenerate all the azure libraries in the .net repo using this version of the generator.
Jorge Rangel (jorgerangel-msft)
left a comment
There was a problem hiding this comment.
the MTG changes look good. Can we just run a regen preview for sanity https://dev.azure.com/azure-sdk/internal/_build?definitionId=6871&_a=summary ?

Fixes #12387
Updates language requirements and targets and tool versions to use current target versions.