Skip to content

Conversation

@ivaylo-matov
Copy link

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

<PackageReference Include="NonCopyableAnalyzer" Version="0.7.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Copy link

@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
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