-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expect required library hostpolicy.dll to be present in [path] #1480
Comments
Can you check this: |
Already landed on those pages through search engines. I am doing nothing fancy, not even a single line of code is touched on what RC2 Preview 1 tooling generates for "ASP.NET Core Web Application". |
Does a solution for this exist? |
This is probably environmental because I tried and things work. The first thing to do is to check your dotnet. You list |
I know what it is! It's this: https://github.com/dotnet/cli/issues/2959 - clean old runtimes in your |
@moozzyk. Thank you for the info. What's the place I obtain RC2 from? I downloaded and installed RC2 on the very first day of release from: |
Thanks, that solves it. You need to remove:
|
@frapid the official guidance (https://www.microsoft.com/net/core#windows) is to use add/remove programs. If this does not work (and what I actually had to do) try removing all non preview1 folders from |
I am getting this same message despite being on RC2 (version "1.0.0-preview1-002702") and having uninstalled RC1 prior to installing RC2. I checked the folders above (%PROGRAMFILES%\dotnet) but there is only the 002702 version in there. What else could be causing this? |
I'm getting this issue, and I never installed RC1. As with @marchy I only have 002702. |
@jltrem I tracked my issue down and created a new issue #3453 in dotnet/cli (https://github.com/dotnet/cli/issues/3453) - is it the same for you? |
@kierenj I no longer have the issue -- it was solved by restarting Visual Studio. Thanks. |
Thank @kierenj, that didn't seem to be the issue for us though. We've had 'emitEntryPoint' in there since this is a MVC application, that's not it. Team what else could this be? This is blocking us from pushing to Azure. Solution runs fine in Visual Studio locally. |
+1 ... any solution for this issue? terrible, cannot run anything. |
@jose-cf Same, I've no idea why they closed it and linked to an (ostensibly) unrelated issue |
- Increase timeout to 60 seconds
Installed ASP.net RC2 and Preview1 tooling for Visual Studio. I created a new project from:
Once the project is created
IIS Express
.A browser tab is displayed and debugging stops. When you "Browse With" or "Control + Shift + W", a new browser tab is displayed trying to show something indefinitely.
On Command Prompt
will show this
System Information
dotnet --version
1.0.0-rc2-002476
Operating System
Windows 8.1
Visual Studio
The text was updated successfully, but these errors were encountered: