Skip to content

Remove Backport.System.Threading.Lock dependency#4724

Merged
rockfordlhotka merged 2 commits into
mainfrom
dev/remove-backport-system-lock
Sep 22, 2025
Merged

Remove Backport.System.Threading.Lock dependency#4724
rockfordlhotka merged 2 commits into
mainfrom
dev/remove-backport-system-lock

Conversation

@StefanOssendorf

@StefanOssendorf StefanOssendorf commented Sep 18, 2025

Copy link
Copy Markdown
Contributor

Removes the Backport.System.Threading.Lock dependency from Csla to avoid shipping it as a source generator to consumers.

Closes #4450

@MarkCiliaVincenti

Copy link
Copy Markdown
Contributor

You could have used it as a source generator and that would have not made any transitive dependencies to the consumers. It is only transitive as it is not being used as a source generator.

@StefanOssendorf

Copy link
Copy Markdown
Contributor Author

I tried that but got errors that the type is already present in other assemblies. I think we have InternalsVisibleTo in use which causes that. Instead of investing time to fix that I opted and discussed the removal with Rocky.

@rockfordlhotka rockfordlhotka merged commit 98774d5 into main Sep 22, 2025
2 checks passed
@rockfordlhotka rockfordlhotka deleted the dev/remove-backport-system-lock branch September 22, 2025 14:57
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.

Fix issues with Backport.System.Threading.Lock package

3 participants