aspnetcore-realworld-example-app icon indicating copy to clipboard operation
aspnetcore-realworld-example-app copied to clipboard

The library 'hostpolicy.dll' required to execute the application

Open bhupendrasinghnegi opened this issue 6 years ago • 2 comments

Hi @adamhathcock ,

When we run the following command on Windows 10 We are getting the below error.

C:\Users\sachin\Downloads\aspnetcore-realworld-example-app-master\publish>dotnet Conduit.dll

A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Users\sachin\Downloads\aspnetcore-realworld-example-app-master\publish'.

Steps taken

  1. download the the repo (.zip) from github
  2. Open the solution in VS 2017 and build the solution
  3. Run 'build.ps1' in windows powershell -- all seems working fine there -- NO errors
  4. Run dotnet Conduit.dll from windows command prompt

Thanks

bhupendrasinghnegi avatar Apr 22 '18 13:04 bhupendrasinghnegi

same error here

Hameds avatar Apr 29 '18 06:04 Hameds

If you run from Visual Studio, what happens?

I guess I’ll make a VM for Windows as I have a few things queued up as windows issues across products

adamhathcock avatar Apr 29 '18 07:04 adamhathcock