I have a project that I am doing in ASP.Net, using Visual Studio, a colleague has uploaded(protected) a version that has completely destroyed mine, I have tried to revert the changes, but the error continues.
How can I revert my entire project and have no leftovers?
I'm using:
- VisualStudio 2018
- Azure DevOps(Git System)
- Google Chrome DevOps
Other data:
In his upload is package.config which I think is what has generated all this problem for me, he has also uploaded the Web.config which I suspect may also influence along with endless nuget packages.
edited 1
After a long time I have copied and pasted a very old version of package.config
and the following error has occurred to me when executing:
System.IO.FileLoadException: No se puede cargar el archivo o ensamblado
'Autofac' ni una de sus dependencias. La definición del manifiesto del
ensamblado no coincide con la referencia al ensamblado. (Excepción de HRESULT:
0x80131040)
Edited 2 Doing a comparison in the packages I saw that a reference to autofac.Integration.Mvc was missing. I solved this error by inserting the reference to pelo, since from NuGet it did not work.
Referencias(click derecho)> Agregar Referencia > Examinar > (Ruta Proyecto)App\packages\Autofac.Mvc5.4.0.2\lib\net45
New error in Package Microsoft.Owin when trying to install it from NuGet, error with the reference to the Owin1.0 package, it generates it every time it tries to install and makes me restart Visual Studio
After a thousand attempts I have managed to access, the solution was:
It hasn't solved the problem at all. But I can already access the web and run it.