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
Project fails to run with error messages such as the following:
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.0.0-preview9.19416.11'.
The specified framework 'Microsoft.NETCore.App', version '3.0.0-preview9-19409-16' was not found.
The output folder also includes the following files, which come from the Microsoft.NETCore.App 2.0.0 package closure:
apphost.exe
hostfxr.dll
hostpolicy.dll
System.Private.CoreLib.dll
Details
NuGet/Home#7344 would fix this. Alternatively, we could try to use conflict resolution to exclude these extra assets. That would probably require updating the platform manifest in the targeting pack.
The text was updated successfully, but these errors were encountered:
Repro
Build and run the following project:
Expected
Project runs successfully
Actual
Project fails to run with error messages such as the following:
The output folder also includes the following files, which come from the Microsoft.NETCore.App 2.0.0 package closure:
Details
NuGet/Home#7344 would fix this. Alternatively, we could try to use conflict resolution to exclude these extra assets. That would probably require updating the platform manifest in the targeting pack.
The text was updated successfully, but these errors were encountered: