Skip to content

Commit 97ced4e

Browse files
authored
Add docs to BuildFromSource for ANCM (#24304) (#24346)
1 parent 6097145 commit 97ced4e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/BuildFromSource.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,18 @@ Executing `.\restore.cmd` or `.\build.cmd` may produce these errors:
132132
133133
In most cases, this is because the option _Use previews of the .NET Core SDK_ in VS2019 is not checked. Start Visual Studio, go to _Tools > Options_ and check _Use previews of the .NET Core SDK_ under _Environment > Preview Features_.
134134

135+
### Common error: HTTP Error 500.33 - ANCM Request Handler Load Failure
136+
137+
The [ASP.NET Core Module](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module) (ANCM) for IIS is not supported when running projects in this repository.
138+
139+
After using `startvs.cmd` to open a solution in Visual Studio, the Kestrel web host option must be used (name of the project) and not IIS Express.
140+
141+
Example of running the `MvcSandbox` project:
142+
143+
`.\startvs.cmd .\src\Mvc\Mvc.sln`
144+
145+
![Web host options in Visual Studio](./vs-iis-express-aspnet-core-mvc-sandbox.jpg)
146+
135147
## Building with Visual Studio Code
136148

137149
Using Visual Studio Code with this repo requires setting environment variables on command line first.
31.1 KB
Loading

0 commit comments

Comments
 (0)