Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NET9 compatibility #327

Merged
merged 10 commits into from
Jan 7, 2025
Merged

Add .NET9 compatibility #327

merged 10 commits into from
Jan 7, 2025

Conversation

SergeiPavlov
Copy link
Collaborator

@SergeiPavlov SergeiPavlov commented Jan 6, 2025

  • field is a context keyword now, rename field identifiers to fld.
  • Mark Serialization tests as [Explicit] because BinaryFormatter is removed from .NET9

@SergeiPavlov SergeiPavlov requested a review from botinko as a code owner January 6, 2025 06:07
@@ -18,6 +18,7 @@ namespace Xtensive.Orm.Tests.Core.Comparison
[TestFixture]
public class ComparerProviderTests
{
[Explicit]
Copy link

Choose a reason for hiding this comment

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

Looks like tests needs to be fixed, not just ignored.

Copy link
Collaborator Author

@SergeiPavlov SergeiPavlov Jan 6, 2025

Choose a reason for hiding this comment

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

The disabled tests rely on BinarySerialization which does not work anymore
To fix the tests we have to invent some replacement of BinarySerialization.
Not sure it is our business

It is better to remove this functionality from DataObjects
We don't use it anyway

@botinko botinko self-requested a review January 6, 2025 17:04
@SergeiPavlov SergeiPavlov merged commit 3065d43 into master-servicetitan Jan 7, 2025
5 checks passed
@SergeiPavlov SergeiPavlov deleted the net9 branch January 7, 2025 05:35
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