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: 

TypeLoadException on Addin startup after changing project to .NET 5

1 REPLY 1
Reply
Message 1 of 2
Anonymous
270 Views, 1 Reply

TypeLoadException on Addin startup after changing project to .NET 5

Hi,

 

today i changed my Visual Studio project to .NET 5. 

After going through all dependencies i tried to start Revit including the Addin which made.

But i get always the following Error (TypeLoadExeption).

reinoldSM3S9_0-1622038108606.png

 

Does anyone have an idea what could be the problem for that?

 

thanks, Roman

 

Labels (1)
1 REPLY 1
Message 2 of 2
jeremy_tammik
in reply to: Anonymous

Well, it is trying to load the DataRow class from an assemble with version number 4.0.0.0.

 

Maybe that is incompatible with the rest of your system assemblies?

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open

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

Post to forums  

Rail Community


Autodesk Design & Make Report