# Fehlermeldung "It was not possible to find any installed .NET Core SDKs" lösen

**URL:** https://entwicklergate.de/t/fehlermeldung-it-was-not-possible-to-find-any-installed-net-core-sdks-loesen/432
**Category:** ASP.NET
**Tags:** net, aspnet-core
**Created:** [5. Juni 2020 um 06:41 UTC](https://entwicklergate.de/t/fehlermeldung-it-was-not-possible-to-find-any-installed-net-core-sdks-loesen/432 "2020-06-05T06:41:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![UweKeim](https://entwicklergate.de/user_avatar/entwicklergate.de/uwekeim/32/432_2.png) [@UweKeim](https://entwicklergate.de/u/UweKeim)
#### Post date: [5. Juni 2020 um 06:41 UTC](https://entwicklergate.de/t/fehlermeldung-it-was-not-possible-to-find-any-installed-net-core-sdks-loesen/432/1 "2020-06-05T06:41:19Z")

</div>

### Fehlerbeschreibung

Im Ereignisprotokoll standen für eine .NET-Core-3.1-Webanwendung folgende Einträge:

> Unable to locate application dependencies. Ensure that the versions of Microsoft.NetCore.App and Microsoft.AspNetCore.App targeted by the application are installed.

und

> Could not find ‚aspnetcorev2\_inprocess.dll‘. Exception message:  
> It was not possible to find any installed .NET Core SDKs  
> Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:  
> [Browse all .NET versions to download | .NET](https://aka.ms/dotnet-download)

sowie

> Failed to start application ‚/LM/W3SVC/2/ROOT/MyApplication‘, ErrorCode ‚0x8000ffff‘.

Ich hatte zunächst so etwas wie auf Stack Overflow beschrieben erwartet, konnte damit jedoch keine Ursache finden:

> <https://stackoverflow.com/questions/58884789/could-not-find-aspnetcorev2-inprocess-dll-exception-message>

### Ursache

Nach längerem Suchen konnte ich die „web.config“-Datei als Ursache ausmachen.

Dort stand u. a. drin:

```xml
<aspNetCore 
    processPath="dotnet" 
    arguments=".\Web.dll" stdoutLogEnabled="true" 
    stdoutLogFile="C:\LogFiles\stdout\MyApplication" 
    hostingModel="InProcess" />

```

Und genau das war die Ursache. Es gab in diesem Projekt keine „Web.dll“-Datei.

Der Fehler war durch das Kopieren der „web.config“-Datei aus einem anderen Projekt entstanden.

### Lösung

Zur Lösung ganz einfach das Argument auf die korrekte DLL setzen.

In meinem Fall war das so etwas wie:

```xml
<aspNetCore 
    processPath="dotnet" 
    arguments=".\MyApplication.dll" 
    stdoutLogEnabled="true" 
    stdoutLogFile="C:\LogFiles\stdout\MyApplication" 
    hostingModel="InProcess" />

```

Anschließend lief die Anwendung wie erwartet.
