Skip to content

ProjectCollection.LoadProject doesn't allow projects to be evaluated in parallel #12520

@Youssef1313

Description

@Youssef1313

Issue Description

This lock prevents parallel evaluation:

using (_locker.EnterDisposableWriteLock())

@rainersigwald opening per our discussion.

Steps to Reproduce

Just try to call LoadProject from multiple threads. Only one thread will be progressing.

Expected Behavior

Parallel evaluation should be supported. A workaround here is to create ProjectInstance object directly, and the constructor there is able to do evaluation without any locking.

Actual Behavior

Locking

Analysis

No response

Versions & Configurations

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions