Cant run code of my project in revit

Cant run code of my project in revit

Ramoon_Bandeira
Contributor Contributor
182 Views
1 Reply
Message 1 of 2

Cant run code of my project in revit

Ramoon_Bandeira
Contributor
Contributor

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.

Ramoon_Bandeira_0-1712838674538.png

 



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.

0 Likes
183 Views
1 Reply
Reply (1)
Message 2 of 2

Mohamed_Arshad
Advisor
Advisor

HI @Ramoon_Bandeira 

 

    I think @ricaun has implemented the .NET Core functionalities. Kindly check the below link for additional reference.

 

URL: https://ricaun.com/revit-api-net-core/#:~:text=Finally%2C%20Revit%20API%20gonna%20be%20updated%20to.... 

 

Hope this will helps 🙂


Mohamed Arshad K
Software Developer (CAD & BIM)