Project load failed; collection was modified

I have a solution consisting of multiple class library projects and a single MVC5 project.

After publishing the MVC5 project, R# pops up an error notification:

Project '...' load failed
Collection was modified; enumeration operation may not execute.

R# 2022.2
VS2022 v17.3.0

0
2 comments

Hello Richard,

 

Could you please check if disabling the following option helps - ReSharper | Options | Environment | General | Read solution model directly?

Also please start VS with the following command: ``devenv.exe /ReSharper.LogFile C:\log\resharper_log.txt /ReSharper.LogLevel Verbose``, reproduce the issue and send us resharper_log.txt.

Thank you.

0

I've sent the log file as requested - #4221210

Turning off the "read project model directly" option for the affected class library seems to have resolved the issue.

0

Please sign in to leave a comment.