Last post Nov 22, 2018 08:15 AM by Madog
Nov 15, 2018 10:54 PM|Madog|LINK
I have an existing solution with two projects..
I noticed I didn't have the Office/SharePoint workload installed so I launched the installer while the
current project was open.
The installer went through its thing installing the Office workload and then prompted me to restore files from the current project I had open.
I found this odd and selected to restore the files.
Visual Studio then rebooted to the start page.
I opened my original solution, and only one of the projects, the data layer, was visible. I right clicked on the solution and added 'existing' project to get the other project back.
I attempted to run Index.cshtml in debug mode and was greeted with:
A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
The original solution ran IIS Express on this port
The new solution now runs it on this http://localhost:51375/
i.e. there is a change of port number from 51306 to 51375, which I think is the cause of the problem.
I can right click on the file in solution explorer and elect it to run in the browser, and it works on the old port 51306.
But I can't run it at all in debug mode from the debug menu.
Thanks for considering
Nov 19, 2018 09:09 AM|Brando ZWZ|LINK
Could you please tell me the version of the VS you have used now? VS2017 or VS2015?
How you install the workload? From the VS2017 installer?
If you could post more details information, it will be more easily for us to reproduce your issue and find out the solution.
Nov 22, 2018 08:15 AM|Madog|LINK