If the debugger can't hit the breakpoints, see Troubleshoot debugging. To start debugging, select IIS Express () or Local IIS () in the toolbar, select Start Debugging from the Debug menu, or press F5. In the Visual Studio toolbar, make sure the configuration is set to Debug, and the browser you want appears in IIS Express () or Local IIS () in the emulator field. To debug the app, in your project, set breakpoints on some code. Next to the Project URL field, select Create Virtual Directory, if you haven't yet set up the app in IIS.Ĭhoose File > Save Selected Items (or press Ctrl+ S) to save any changes.For IIS Express, select IIS Express from the dropdown.Select the ASP.NET project in Visual Studio Solution Explorer and click the Properties icon, or press Alt+ Enter, or right-click and choose Properties. If you're debugging on Local IIS, make sure you meet the requirements for local IIS debugging. IIS Express is the default, and is preconfigured. Make sure the app runs on IIS without errors. For ASP.NET, see Install IIS and ASP.NET Modules. For more information on using IIS with ASP.NET Core, see Host ASP.NET Core on Windows with IIS. Install and correctly configure IIS with the appropriate version(s) of ASP.NET and/or ASP.NET Core. Make sure it's selected when you add the workload. In Visual Studio 2017, Look for the Development time IIS support component.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |