-
Notifications
You must be signed in to change notification settings - Fork 260
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
Improve support to .NET Standard and .NET Framework #3507
Improve support to .NET Standard and .NET Framework #3507
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gates Failed
Prevent hotspot decline
(1 hotspot with Code Duplication)
Enforce advisory code health rules
(1 file with Code Duplication)
Gates Passed
2 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
Prevent hotspot decline | Violations | Code Health Impact | |
---|---|---|---|
MySqlOutbox.cs | 1 rule in this hotspot | 9.39 → 9.10 | Suppress |
Enforce advisory code health rules | Violations | Code Health Impact | |
---|---|---|---|
MySqlOutbox.cs | 1 advisory rule | 9.39 → 9.10 | Suppress |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gates Failed
Prevent hotspot decline
(1 hotspot with Code Duplication)
Enforce advisory code health rules
(1 file with Code Duplication)
Gates Passed
2 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
Prevent hotspot decline | Violations | Code Health Impact | |
---|---|---|---|
MySqlOutbox.cs | 1 rule in this hotspot | 9.39 → 9.10 | Suppress |
Enforce advisory code health rules | Violations | Code Health Impact | |
---|---|---|---|
MySqlOutbox.cs | 1 advisory rule | 9.39 → 9.10 | Suppress |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gates Failed
Prevent hotspot decline
(1 hotspot with Code Duplication)
Enforce advisory code health rules
(1 file with Code Duplication)
Gates Passed
2 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
Prevent hotspot decline | Violations | Code Health Impact | |
---|---|---|---|
MySqlOutbox.cs | 1 rule in this hotspot | 9.39 → 9.10 | Suppress |
Enforce advisory code health rules | Violations | Code Health Impact | |
---|---|---|---|
MySqlOutbox.cs | 1 advisory rule | 9.39 → 9.10 | Suppress |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Health Improved
(1 files improve in Code Health)
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
View Improvements
File | Code Health Impact | Categories Improved |
---|---|---|
MySqlOutbox.cs | 9.39 → 10.00 | Code Duplication |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
@@ -159,14 +159,22 @@ protected override async Task<T> ReadFromStoreAsync<T>( | |||
|
|||
if (connection.State != ConnectionState.Open) | |||
await connection.OpenAsync(cancellationToken); | |||
#if NETSTANDARD2_0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No longer an issue: Code Duplication
The module no longer contains too many functions with similar structure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guessing the issue here is that we can't get this to compile for netstandard20, so we need to "fake" the nestandard20 version using the underlying sync apis? Approving on that basis
@lillo42 Let me know if understand the issue right - build constraints - if so happy to merge |
Hey @iancooper
Depending, on About the Microsoft.NETFramework.ReferenceAssemblies I've added it to allow build .NET Framework on non-Windows machine, it's used only for MS SQL packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Health Improved
(1 files improve in Code Health)
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
View Improvements
File | Code Health Impact | Categories Improved |
---|---|---|
MySqlOutbox.cs | 9.39 → 10.00 | Code Duplication |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Health Improved
(1 files improve in Code Health)
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
View Improvements
File | Code Health Impact | Categories Improved |
---|---|---|
MySqlOutbox.cs | 9.39 → 10.00 | Code Duplication |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Health Improved
(1 files improve in Code Health)
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
View Improvements
File | Code Health Impact | Categories Improved |
---|---|---|
MySqlOutbox.cs | 9.39 → 10.00 | Code Duplication |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
Many projects can have support for .NET Standard and we haven't added support to it.
I've created 3 variables: