Reputation: 423
I am trying to run some sample code for ASP.NET Core and Angular 2.
I cloned the project from https://github.com/PacktPublishing/ASPdotNET-Core-and-Angular-2 and changed the sdk version in the global.json to the current version I have installed (1.0.0-preview2-1-003177). When I run the web application I get the following error page:
I grepped the project looking for the config file path but came up with nothing. I also contacted support but they aren't helpful.
Does anybody know how to change the config file path?
Upvotes: 7
Views: 5234
Reputation: 160
You must open hidden .vs folder in root of your solution folder, then find applicationhost.config file in the config folder. ... and change
<virtualDirectory path="/" physicalPath="......"
to the proper path.
Upvotes: 11