Skip to content

Mismatched shared framework versions can cause failed resolution of hostpolicy in certain circumstances #3402

Closed
dotnet/core-setup
#5542
@nguerrera

Description

@nguerrera

Tracking issue for dotnet/sdk#2774 (comment)

Steps to reproduce

git clone https://github.com/dsplaisted/sdk
cd sdk
git checkout a777a2c96765ae7018cecb74fafb31d176da12fb
build
eng\dogfood.cmd cmd
cd ..
mkdir repro
cd repro
dotnet new mvc
dotnet run

Expected behavior

App runs

Actual behavior

A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'd:\src\sdk\.dotnet\shared\Microsoft.AspNetCore.App\3.0.0-preview-18579-0056'.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions