Missing RevitAPI.dll after update ?!

Missing RevitAPI.dll after update ?!

mr.engineer.aec
Advocate Advocate
484 Views
2 Replies
Message 1 of 3

Missing RevitAPI.dll after update ?!

mr.engineer.aec
Advocate
Advocate

 Hi guy,

 In Revit 2023, we have some API to update.

 Before, i use RevitAPI 2020 in my project.

 Now, i want to change RevitAPI 2023 in my project: i deleted RevitAPI 2020 in reference and add RevitAPI 2023 and rebuild.

 But after that, i missing reference like pic, in spite of in code, i don't have error.

 How can i solved this issue ?

 Thank in advanced !

mrengineeraec_0-1660186295744.png

mrengineeraec_1-1660186423725.png

 

 

0 Likes
Accepted solutions (1)
485 Views
2 Replies
Replies (2)
Message 2 of 3

sahin.ikbal
Advocate
Advocate
Accepted solution

I think this problem is happening because you are working on a older .Net framework version.

Go to project's property then build option from there change the .Net framework version to 4.8, it will most probably solve your problem.

Message 3 of 3

mr.engineer.aec
Advocate
Advocate
Thank bro,
that's right!
0 Likes