You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The library 'hostpolicy.dll' required to execute the application was not found in
2
+
3
+
I just had following error when building C# project:
4
+
5
+
```
6
+
3>Cannot use stream for resource [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0\Microsoft.NETCore.App.deps.json]: No such file or directory
7
+
3>A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0'.
8
+
```
9
+
10
+
It turned out that folder `C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0` was empty and deleting folder helped.
0 commit comments