I'm trying to get a .Net environment running, but most of my dotnet calls in cmd give me this error message:
Unhandled exception. System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B)
I can't event get "dotnet --info" to run without this error. Does anyone know how to fix this?
I did a complete reinstall of everything regarding .NET. So removed runtimes, sdks, etc and even visual studio. That fixed it.
User contributions licensed under CC BY-SA 3.0