Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

'dotnet' command fails expecting hostpolicy.dll to be present

$
0
0

Hi there, we are trying to deploy a local working version of our RC2 migration and are troubleshooting with the Azure team why the code does not deploy in Azure. (works in Visual Studio in both Debug and Release configurations).

We have followed these steps (link: https://github.com/projectkudu/kudu/wiki/Test-your-ASP.NET-Core-repo-locally) but on the last command

dotnet OurNetCoreProject.dll

we get the following error:

"Expect required library hostpolicy.dll to be present in [C:\Temp\AzureHapp]
  - This may be because of an invalid .NET Core FX configuration in the directory."

How should we proceed about this? The error seems to be very generic and running "dotnet AnythingYouTypeHere.dll" seems to trigger the same problem.

We confirmed that we have ONLY RC2 installed locally and that the version is the correct one ("1.0.0-preview1-002702")


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>