Step 5, check whether the program is normal, directly run the release file of XXx. exe. Then go to http://localhost:5000, which works fine if you can
1. Execute the released EXE program and report the following errors:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.App', version '2.2.6' was not found.
- Check application dependencies and target a framework version installed at:
C:\Program Files (x86)\dotnet
- Installing .NET Core prerequisites might help resolve this problem:
https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
- The .NET Core framework and SDK can be installed from:
https://aka.ms/dotnet-download
- The following versions are installed:
2.2.3 at [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Install version 2.2.6
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIIS()
// 500.30 error
//.UseIISIntegration()
.UseStartup<Startup>()
.Build();
Read More:
- [Solved] .NetCore2.2 Upgrade to 3.1 Error: HTTP Error 500.37 – ANCM Failed to Start Within Startup Time
- [Solved] RuntimeError: An attempt has been made to start a new process before the current process…
- Start failure: spawn CMD enoent error (How to Fix)
- [Solved] IDEA Start Project Error: Abnormal build process termination:Could not create the Java Virtual Machine.
- How to Fix Error 1069:The service did not start due to a logon failure
- When installing zookeeper, you can view the process start, but the status display error: Error contacting service. It is probably not running
- [Solved] Postgres Start Error: Job for postgresql.service failed because the control process exited with error code.
- Ubutnu Qt Unable to start process Error: “make“ -f ‘ /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit sta
- [Solved] Hadoop Start NameNode Error: ERROR: Cannot set priority of namenode process 2639
- [Solved] Asp.Net Core IIS Error: HTTP Error 500.30 – ASP.NET Core app failed to start
- Tomcat Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- Docker run Error: container_linux.go:235: starting container process caused “process_linux.go:258: appl
- [Solved] net core HTTP Error 500.31 – Failed to load ASP.NET Core runtime HTTP Error 500.30 – ASP.NET Core
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- Android studio can’t start, running error: warning: crash service did not start
- How to Solve Cocoapods Installation Failure
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START
- How to Solve Error: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
- CDH-hue : Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available
- [Solved] Unity Package Error: FAILURE: Build failed with an exception.