-
Notifications
You must be signed in to change notification settings - Fork 119
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
RPS not loading in Revit 2025 #159
Comments
您好,邮件已收到,尽快给您回复。
|
Ah. This is going to be a tricky one I think - Revit really jumped from .NET Framework 4.8 to .NET 8. That's... quite a leap. This will probably also affect scripts a bit, so this blog post might help migrating those: https://thebuildingcoder.typepad.com/blog/2024/04/migrating-from-net-48-to-net-core-8.html As for RPS itself, I'll need to come up with a new strategy of creating the assembly. This could take some time as I have to do this in my free time. Any help is appreciated. |
This StackOverflow link looks promising: https://stackoverflow.com/questions/36937276/replacement-of-assemblybuilder-definedynamicassembly-in-net-core |
Reproduced the issue no problem (just copy contents of Hit a snag: Is it just me or does JetBrains Rider have a hard time opening the solution? If I remember correctly, we might have done some funky things with the project configurations. I'll look into that next, else try with Visual Studio (Community Edition? Or what is that called?) |
Good news and bad news so far... Good news: I've been able to rewrite the assembly generation logic using Roslyn (the StackOverflow question above didn't pan out sadly) and I actually like the new version much better. Bad news: Now I'm having problems with the IronPythonConsole we use. This is code I was always hoping never to have to touch again. The current error goes a bit like this:
I've tried enabling COM explicitly, but it's not working and I'm tired and it's Sunday so I'm just going to stop for today. |
OK. So. This branch shows how to fix the error mentioned in the issue, but it's not a replacement or upgrade of RPS to .NET 8. That seems to require a re-implementation of the console part. If anyone is interested in doing that, go ahead. I've decided I don't want to do this myself. |
Good day and thank you for your work! |
您好,邮件已收到,尽快给您回复。
|
Describe the bug
The upgrade process to newer Revit Versions doesnt work in Revit 2025. When addin manifest is copied into the Revit 2025 folder (and paths updated etc), an error is thrown on Revit startup
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected to see the RevitPythonShell addin on the Ribbon
Screenshots

Desktop (please complete the following information):
Additional context
It seems that pyRevit is having similar issues, seems to be related to Revit 2025 upgrading to .net CORE 8.0
The text was updated successfully, but these errors were encountered: