Revit Plugin Error- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Http, Version=9.0.0.0,

Revit Plugin Error- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Http, Version=9.0.0.0,

gabriel_884
Community Visitor Community Visitor
148 Views
0 Replies
Message 1 of 1

Revit Plugin Error- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Http, Version=9.0.0.0,

gabriel_884
Community Visitor
Community Visitor

Olá, me chamo Gabriel(Brasileiro) e estou iniciando meu primeiro plugin Revit juntamente com outro desenvolvedor Rafael. O Rafael conseguiu criar a base do plugin e me mandou o repositório através do bitbucket para começar a desenvolver juntamente com ele. Ao baixar o repositório e tentar rodar o projeto pela primeira vez acontece um erro.

Hello, my name is Gabriel (Brazilian) and I am starting my first Revit plugin together with another developer Rafael. Rafael managed to create the base of the plugin and sent me the repository through bitbucket so I could start developing it together with him. When downloading the repository and trying to run the project for the first time, an error occurs.

System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. O sistema não pode encontrar o arquivo especificado.'

gabriel_884_0-1748099169293.png


O projeto esta sendo desenvolvido em .net 8. Logo os packages criados são da versão 8.0.

The project is being developed in .net 8. Therefore, the packages created are from version 8.0.

 

gabriel_884_1-1748099269198.png

Como o erro fala que busca 'Microsoft.Extensions.Http, Version=9.0.0.0' inicialmente realizei  a atualização desse package conforme a imagem a baixo:

 

As the error says it is looking for 'Microsoft.Extensions.Http, Version=9.0.0.0' I initially updated this package as shown in the image below:

gabriel_884_2-1748099500472.png

 

Lógico que por consequência da atualização precisei realizar também a atualização do Microsoft.Extensions.DependencyInjection.Abstractions para a versão 9.0.0.

 

Of course, as a result of the update, I also needed to update Microsoft.Extensions.DependencyInjection.Abstractions to version 9.0.0.

E mesmo após as atualizações o erro persistiu. Não sei mais o que tentar realizar para que ajuste o erro. Alguém já passou por isso e pode me ajudar?

And even after the updates, the error persisted. I don't know what else to try to fix the error. Has anyone experienced this and can help me?

0 Likes
149 Views
0 Replies
Replies (0)