Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cant run code of my project in revit

1 REPLY 1
Reply
Message 1 of 2
Ramoon_Bandeira
126 Views, 1 Reply

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

Cant run code of my project in revit

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.

1 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 🙂

Thanks & Regards,
Mohamed Arshad K

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 🙂

Thanks & Regards,
Mohamed Arshad K
Tags (1)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report