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

Multi-target .net dependencies explicitly per target, and add net8 support #23

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

andyward
Copy link
Contributor

Rationale: net6 target was depending on Logging.Abstractions v7.0.0 which creates issues in environments like azure functions when there are major version discrepancies.

Because ids-lib under net6 was referencing 7.0.0 logging abstractions while other libraries in a net6 app required 6.0.0 this was creating issues for us (e.g. xbim Geometry is targeting net6 and using 6.0.0 logging). While 7.0.0 is interface compatible with 6 some cases exist where it cause issues resolving an appropriate version, so I've split the ids-lib .net framework targeting explicitly for netstandard2, net6, and I've added explicit net7 and net8 targets.

Worth noting many orgs may not want 7.0 dependencies as its not long-term supported, unlike net6 & net8.

Upgrade testlib and codegen to net8 just to flush out any issues.

TODO: Assembly versions need updating for nuget publishing.

Rationale: net6 target was depending on Logging.Abstractions v7.0.0 which creates
issues in environments like azure functions when there are major version discrepancies.
@andyward
Copy link
Contributor Author

@CBenghi If you get a chance can you review please? Since XIDS took dependency on ids-lib is causing an issue for us as we have a conflict with xbim.geometry v6

@andyward
Copy link
Contributor Author

andyward commented Jan 2, 2024

@CBenghi any chance you can take a look at this? Just needs the build no incrementing...

@CBenghi CBenghi merged commit 47989f9 into buildingSMART:main Mar 4, 2024
1 check passed
@andyward andyward deleted the fix/net6-compat branch March 4, 2024 09:17
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