Cant run code of my project in revit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So i have a project in visual studio that targeted revit 2019 to 2024.
When i updated the solution to a .NET Core 8.0 application i had several problems.
After a lot of effort, i made the application "run" in revit.
The ribbon tab of my command is properly loaded within revit, with all of its commands.
However, when i try to run any of then, i get an error with a message stating that my assembly
could not be found. Which is odd.
After looking at the revit journal i got the following errors:
Assembly version conflict in some references in Autodesk.ResultsExplorer.Application.dll assembly
'Addin's module Autodesk.ResultsBuilder.DBApplication of version 0.0.0.0 conflicts with same preloaded module of version 2025.0.0.0
'Addin's module Autodesk.StructuralRibbon.Application of version 0.0.0.0 conflicts with same preloaded module of version 2025.0.0.0
Assembly version conflict in some references in Autodesk.PointCloudSnappingServer.Application.dll assembly
'Addin's module WindowsBase of version 4.0.0.0 conflicts with same preloaded module of version 8.0.0.0
Which shows assembly version conflicts. Any tips on how to solve that? Thanks.