Skip to content
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

Revit 2025: FileLoadException - could not load file Nice3Point.Revit.Toolkit #11

Open
harrymattison opened this issue Oct 9, 2024 · 10 comments

Comments

@harrymattison
Copy link

Hi Roman - I am getting this error when starting Revit 2025

image

But that DLL does exist in the folder with the add-in dll
image

image

CSPROJ.txt

Is there some other file that needs to be included? Thanks

@AmeerMansour
Copy link

can you ensure that you don't implement Revit Api IexternalCommand and IexternalApp ?

@harrymattison
Copy link
Author

I have one instance of Nice3point.Revit.Toolkit.External.ExternalCommand and one Nice3point.Revit.Toolkit.External.ExternalApplication

The only "IExt..." in the project is IExternalEventHandler

@harrymattison
Copy link
Author

also, it works fine with Revit 2024

@Nice3point
Copy link
Owner

A known problem on Revit 2025, the issue is that Revit doesn't want to load a dependency that is a higher version than the one already loaded. A temporary solution is to run DependenciesReport jeremytammik/RevitLookup#269 (comment) to find a plugin with an older version and copy Toolkit version 2025.0.3 to it

@harrymattison harrymattison changed the title FileLoadException - could not load file Nice3Point.Revit.Toolkit Revit 2025: FileLoadException - could not load file Nice3Point.Revit.Toolkit Oct 10, 2024
@harrymattison
Copy link
Author

A known problem on Revit 2025

Does this mean that Nice3point/RevitToolkit should not be used with Revit 2025 unless the temporary solution is used?

find a plugin with an older version and copy Toolkit version 2025.0.3 to it

Could you explain in more detail what this means? What older version of which plugin would resolve this?

@Nice3point
Copy link
Owner

Does this mean that Nice3point/RevitToolkit should not be used with Revit 2025 unless the temporary solution is used?

you can, why not, you just need to update the plugins that use RevitToolkit with older versions, like 2025.0.1

Could you explain in more detail what this means? What older version of which plugin would resolve this?

Can you run DependenciesReport from the link above and send the generated report here so we can figure out the cause of the problem?

@harrymattison
Copy link
Author

@Nice3point
Copy link
Owner

@harrymattison Update please RevitLookup to the 2025.0.10 version
изображение

@harrymattison
Copy link
Author

Thanks, but how can I publish a product that will fail to load based on the version of some other product?

@Nice3point
Copy link
Owner

Toolkit gives more conflict protection than not using it at all. There are always chances to encounter incompatible plugins, Autodesk solves this problem, so we can only hope that they will do something in Revit 2026.

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

No branches or pull requests

3 participants