Skip to content

[Bug]: Reload => CRITICAL [pyrevit.runtime] Can not find required reference assembly: System.Drawing.Common (PyrRevit v5) #2420

@leiopar

Description

@leiopar

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 Describe the bug

Hi
With PyRevit v5.0.0.24281+2116 (in french)
When we click "Reload", it do not work ang give thes message :
 CRITICAL [pyrevit.runtime] Can not find required reference assembly: System.Drawing.Common

⌨ Error/Debug Message

CRITICAL [pyrevit.runtime] Can not find required reference assembly: System.Drawing.Common

♻️ To Reproduce

Click "reload" icon

⏲️ Expected behavior

No response

🖥️ Hardware and Software Setup (please complete the following information)

pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "4.8.16.24121+2117" | Path: "C:\Users\j.leignadier-paradon\AppData\Roaming\pyRevit-Master"
==> Attachments
Unnamed-363FBF8 | Product: "Autodesk Revit 2025" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
Unnamed-363FBF8 | Product: "24.2" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
Unnamed-363FBF8 | Product: "23.1.3" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
Unnamed-363FBF8 | Product: "2021.1.6" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
==> Installed Extensions
pyRevit | Type: Unknown | Repo: "" | Installed: "D:\EMD Dropbox\ZONE_CAO_BE\REVIT\Plugins\pyRevit\Test\pyRevit.extension"
pyRevit | Type: Unknown | Repo: "" | Installed: "D:\EMD Dropbox\ZONE_CAO_BE\REVIT\Plugins\pyRevit\MacrosEMD\pyRevit.extension"
==> Default Extension Search Path
C:\Users\j.leignadier-paradon\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
D:\EMD Dropbox\ZONE_CAO_BE\REVIT\Plugins\pyRevit\Test
D:\EMD Dropbox\ZONE_CAO_BE\REVIT\Plugins\pyRevit\MacrosEMD
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
Autodesk Revit 2025 | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
24.2 | Version: 24.2.0.63 | Build: 20231029_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
23.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2021.1.6 | Version: 21.1.60.25 | Build: 20220123_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
==> Running Revit Instances
PID: 23036 | 23.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2023"
==> User Environment
Microsoft Windows 10 [Version 10.0.19045]
Executing User: EMDELEN\j.leignadier-paradon
Active User: EMDELEN\j.leignadier-paradon
Admin Access: No
%APPDATA%: "C:\Users\j.leignadier-paradon\AppData\Roaming"
Latest Installed .Net Framework: 8.0.10
Installed .Net Target Packs: v4.0 v4.5 v4.5.1 v4.5.2 v4.6 v4.6.1 v4.7.2 v4.8 v4.X
Installed .Net-Core Target Packs: v7.0.102
pyRevit CLI v5.0.0.24281+2116-wip.86697ad59cc66fe73baca529a1670b2c94160506

Additional context

I make a personal ribbon with my script

Metadata

Metadata

Assignees

Labels

BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]pyRevit 5pyRevit 5 coming release

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions