gothinkster / aspnetcore-realworld-example-app

ASP.NET Core backend implementation for RealWorld
https://realworld.io
MIT License
1.93k stars 548 forks source link

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

Open bhupendrasinghnegi opened 6 years ago

bhupendrasinghnegi commented 6 years ago

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

Hameds commented 6 years ago

same error here

adamhathcock commented 6 years ago

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