Skip to content

downgrade to sdk preview.5#4

Merged
zeusongit merged 6 commits into
autodesk-forks:testnetfrom
ivaylo-matov:downgrade-to-sdk-preview.5_
Oct 23, 2025
Merged

downgrade to sdk preview.5#4
zeusongit merged 6 commits into
autodesk-forks:testnetfrom
ivaylo-matov:downgrade-to-sdk-preview.5_

Conversation

@ivaylo-matov
Copy link
Copy Markdown

What does this implement/fix? Explain your changes.

  • Pin SDK: Added global.json to use .NET SDK 10.0.100-preview.5.25277.114 with roll-forward disabled.
  • Compiler/language: Set 12.0 in Directory.Build.props to compile with C# 12.
  • Clean up toolchain: Removed
    • Microsoft.Net.Compilers.Toolset (old Roslyn override), and
    • NonCopyableAnalyzer (was raising “non-copyable” errors).

Does this close any currently open issues?

Build with the .NET 10 SDK reliably while avoiding C# 13 preview diagnostics and mismatches from an old compiler/analyzer.

Any other comments?

@zeusongit

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

Comment thread Directory.Build.props
<PackageReference Include="NonCopyableAnalyzer" Version="0.7.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Copy link
Copy Markdown

@zeusongit zeusongit Oct 22, 2025

Choose a reason for hiding this comment

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

What are the changes in this file?
sorry just read the description

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

with the .NET 10 SDK/C#13 it was raising “non-copyable” analyzer errors on our ref-struct wrappers (e.g. NewReference) and breaking the build. Dropping the analyzer unblocks the build; no product code or behavior changes - just build configuration.

@zeusongit zeusongit changed the base branch from dynamo_py3 to testnet October 23, 2025 05:35
@zeusongit zeusongit merged commit e497105 into autodesk-forks:testnet Oct 23, 2025
0 of 24 checks passed
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