* Suppress IL2026/IL3050 with targeted pragmas on affected methods
Add #pragma warning disable/restore for IL2026 and IL3050 only around
the specific methods where dotnet format incorrectly adds
[RequiresUnreferencedCode] and [RequiresDynamicCode] attributes despite
proper interceptors configuration in the csproj.
See https://github.com/dotnet/sdk/issues/51136
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Upgrade to .NET SDK 10.0.200 and remove IL2026/IL3050 workarounds
Bump global.json to SDK 10.0.200 which fixes the dotnet format bug
that incorrectly added [RequiresUnreferencedCode] and
[RequiresDynamicCode] attributes (https://github.com/dotnet/sdk/issues/51136).
Remove all #pragma warning disable IL2026/IL3050 workarounds from
source files and the --exclude-diagnostics flag from the CI format
workflow.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Upgrade to .NET 10
- Require .NET 10 SDK
- Include net10.0 assets in all assemblies
- Move net9.0-only targets to net10.0
- Update LangVersion to latest
- Remove complicated distinctions between debug target TFMs and release target TFMs
- Remove unnecessary package dependencies when built into netcoreapp
- Clean up some ifdefs
- Clean up some analyzer warnings
* Fix CI
* Add build and test in subfolder to see if it works
* Move build and test file to root workflows
* Update to .net 9, add checkout filter and fix package check
* Only run framework tests on windows-latest
* Fix if statements and restrict package check to release builds
* Fix coverage check
* Add dotnet format
* Address PR comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Address PR comments
Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
* Address PR comments
Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
* Fix error
* update package install check to run in temp folder.
* Fix typo in package install check
* Update net472 handling for tests
* Fix dotnet version name
* Update package install check with framework from matrix
* Remove switch from pack and rename to targetFramework
* Try /p switch for pack
* Move /p switch
* rename /p to /property
* Restrict package install check to netx
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>